Bastien Nocera | 31 Oct 18:08
Favicon

Battery levels

Heya,

It seems to me that there's quite a bit of confusion wrt. battery
levels. I'm currently using some code similar to what's in xgnokii in
gnome-phone-manager:
http://svn.gnome.org/viewvc/phonemgr/trunk/libgsm/phonemgr-listener.c?view=markup
(see phonemgr_listener_battery_poll ())

Daniele's example code uses phone.max_battery_level from the driver:
http://www.forsi.it/gnobatmon

Which is correct? In my testing Daniele's option gave me thousands of
percents using the nk6510 driver.

Cheers

Gmane