![]() |
2010-08-08
, 12:02
|
Posts: 1,258 |
Thanked: 672 times |
Joined on Mar 2009
|
#2
|
The Following User Says Thank You to shadowjk For This Useful Post: | ||
![]() |
2010-08-08
, 12:11
|
Posts: 61 |
Thanked: 7 times |
Joined on Aug 2007
@ Kassel, Germany
|
#3
|
![]() |
2010-08-08
, 12:34
|
Posts: 1,258 |
Thanked: 672 times |
Joined on Mar 2009
|
#4
|
![]() |
2010-08-09
, 23:08
|
Posts: 61 |
Thanked: 7 times |
Joined on Aug 2007
@ Kassel, Germany
|
#5
|
![]() |
2010-08-19
, 23:44
|
Posts: 61 |
Thanked: 7 times |
Joined on Aug 2007
@ Kassel, Germany
|
#6
|
![]() |
2010-08-20
, 13:58
|
Posts: 1,258 |
Thanked: 672 times |
Joined on Mar 2009
|
#7
|
The Following User Says Thank You to shadowjk For This Useful Post: | ||
I am now figuring out a way to record battery/power consumption of a test script i am performing on the N900, and found a way to access Hal via python/dbus. I realize one thing - when i check the log file - it does not display changes of "'battery.reporting.current" if the phone turns off its screen.
As soon as i unlock the phone, i see the value gets updated. Is this behavior normal? When i look at batteryGraph, the sqlite DB has the same type of log too. if the phone is not used (screen locked/off) it will not log any changes.
Does it mean it is useless for me to put a script that automatically record the current value every say 30 seconds and leave it running at background, since the way i access the value via dbus/hal will not get the update unless i keep the phone "on" (which again forfeit the purpose - the script should run in background...)
thanks.
regards,
wahlau.