sugar3.power module

class sugar3.power.PowerManager

control of powerd idle suspend, reference counted, does nothing if powerd is not present

inhibit_suspend()
is_suspend_inhibited()
restore_suspend()
shutdown()

This method clean the flag file if exists, is already called when the activity is closed.

suspend_breaks_collaboration()
sugar3.power.get_power_manager()

Previous topic

sugar3.network module

Next topic

sugar3.profile module

This Page