Home | Trees | Indices | Help |
---|
|
twisted.application.service.Service --+ | PowerService
A service which monitors the power state of the computer. It fires "available" and "low" events when the power state changes. On the startup of the service, these signals get fired once to ensure a valid system state.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
|
Called when the power state switches between running on battery and running on mains. The 'available' field contains a flag which is True when the computer is running on mains (AC) power. |
Called when the battery state becomes critically low, or changes from critical back to normal. When the 'low' field of the event is True, the power is critically low. Triggers a 'low' event on this module's dispatcher. |
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Thu Sep 30 15:21:52 2010 | http://epydoc.sourceforge.net |