View Single Post
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#6
Originally Posted by dov View Post
[...]connected to the powercord. How should I do this?
D-Bus signals are emitted by BME when the charger is connected/disconnected. To get the current state, look at the "maemo.charger.connection_status" property on the UDI "/org/freedesktop/Hal/devices/bme" using HAL*.

*/me wonders if gudev will build...
 

The Following User Says Thank You to qwerty12 For This Useful Post: