Active Topics

 



Notices


Reply
Thread Tools
Posts: 40 | Thanked: 21 times | Joined on Nov 2008 @ New York, NY
#1
Ag2 wrote a nice application, battery-status, that sits in the background and periodically records the battery charge to a file. It is described here:

http://www.internettablettalk.com/fo...ad.php?t=14115

I wrote an application, battery-graph, that takes that output and draws a graph of time vs battery charge. A typical usage is:

battery-status -d 10 > /media/mmc1/battery.log &

then wait a while, and run

battery-graph /media/mmc1/battery.log

You can download battery-graph below. I've also written a replacement for battery-status called battery-info. In addition to the battery status, it displays the temperature, network activity and CPU speed. Battery info also has the option to display process activity (-p flag). This requires rps from http://www.makikiweb.com/n800/downlo....2.7.armel.deb .
Attached Files
File Type: deb battery-info.0.0.1.deb (2.8 KB, 203 views)
File Type: deb battery-graph.0.0.2.deb (24.1 KB, 198 views)

Last edited by bluechalk; 2008-12-02 at 14:01. Reason: update files to download
 

The Following 8 Users Say Thank You to bluechalk For This Useful Post:
eliagp's Avatar
Posts: 301 | Thanked: 71 times | Joined on Jul 2008 @ Santiago, Chile
#2
can you put a screenshot? does this show REAL battery life?
 
Posts: 40 | Thanked: 21 times | Joined on Nov 2008 @ New York, NY
#3
Here's a screendump. I'm working to find out why my battery starts draining quickly after its half empty.
Attached Images
 
 
tso's Avatar
Posts: 4,783 | Thanked: 1,253 times | Joined on Aug 2007 @ norway
#4
heh, im tempted to suggest that this should be integrated with pybattery
 

The Following 3 Users Say Thank You to tso For This Useful Post:
Posts: 1,213 | Thanked: 356 times | Joined on Jan 2008 @ California and Virginia
#5
OK, I am SO trying this app. Today, my battery died in 2 hours, while it was not being used!
__________________
----------------------------------------------------

www.ezschool.com - The best online educational experience.
 
tso's Avatar
Posts: 4,783 | Thanked: 1,253 times | Joined on Aug 2007 @ norway
#6
i just wish that one had a working powertop variant available.

i know work have been done towards it but i dont recall there being news about a fully working version...
 
Posts: 1,213 | Thanked: 356 times | Joined on Jan 2008 @ California and Virginia
#7
Ok, I did not use this program per say, just the battery-status. I used an time span of 10 minutes, nothing was running except personal launch, GPE summary, The IM client, Xterm, and OMweather. WiFi was on, Bluetooth was on, GPS off, screen off, nothing was being used. It was basically how I always leave it in my pocket.

I was shocked and amazed. It only lasted 3.5 hours with a FULL charge doing nothing!

Also, it just dies after reaching 40%. That was interesting, because bluechalk's did something similar.

I am going to try the same test booting from flash, with absolutely nothing except battery-status running, to see if there is a difference.

How can I stop this madness!
Attached Images
 
__________________
----------------------------------------------------

www.ezschool.com - The best online educational experience.

Last edited by Thesandlord; 2008-11-20 at 08:37.
 
tso's Avatar
Posts: 4,783 | Thanked: 1,253 times | Joined on Aug 2007 @ norway
#8
hmm, battery-graph complains that the file holds no battery-values, when it clearly do...
 
Posts: 16 | Thanked: 3 times | Joined on Jul 2008
#9
yes i get the same, here is an example input file that the program says does not contain battery values. Maybe a verson problem with battery-syatus ?

battery-graph % more tst.txt
[Jul 20 08:50][00:35] 36.0%
[Jul 20 16:26][08:10] 36.0%
[Jul 20 16:31][08:15] 36.0%
[Jul 20 16:30][00:00] 98.0%
[Jul 20 16:35][00:05] 97.2%
[Jul 20 16:40][00:00] 97.2%
battery-graph %
 
Posts: 2,102 | Thanked: 1,309 times | Joined on Sep 2006
#10
Would be interesting to save the current cpufreq value at the same time as the battery level is taken, might help in tracking down whether battery life is down to a dead one or some app not behaving.
 
Reply


 
Forum Jump


All times are GMT. The time now is 08:34.