gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Battery levels


From: Bastien Nocera
Subject: Battery levels
Date: Wed, 31 Oct 2007 17:08:12 +0000

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]