|
2010-01-03
, 15:31
|
|
Posts: 2,361 |
Thanked: 3,746 times |
Joined on Dec 2007
@ Berlin - Love this city!!
|
#2
|
|
2010-01-03
, 16:00
|
Posts: 14 |
Thanked: 3 times |
Joined on Jan 2010
|
#3
|
|
2010-01-03
, 18:38
|
|
Posts: 2,361 |
Thanked: 3,746 times |
Joined on Dec 2007
@ Berlin - Love this city!!
|
#4
|
|
2010-01-03
, 18:42
|
Posts: 14 |
Thanked: 3 times |
Joined on Jan 2010
|
#5
|
|
2010-01-03
, 19:05
|
Posts: 377 |
Thanked: 97 times |
Joined on Dec 2009
@ US
|
#6
|
|
2010-01-03
, 19:11
|
Posts: 14 |
Thanked: 3 times |
Joined on Jan 2010
|
#7
|
|
2010-01-03
, 19:22
|
|
Posts: 2,361 |
Thanked: 3,746 times |
Joined on Dec 2007
@ Berlin - Love this city!!
|
#8
|
|
2010-01-03
, 19:26
|
Posts: 1,224 |
Thanked: 1,763 times |
Joined on Jul 2007
|
#9
|
|
2010-01-03
, 19:26
|
Posts: 14 |
Thanked: 3 times |
Joined on Jan 2010
|
#10
|
I noticed that the N900 does not estimate how long it's going to take for the battery to get fully charged. Such an indication would be helpful to me and I can imagine that other people would be interested too.
I'm trying to do this, but I'm not sure if the information provided by lshal is accurate enough for a decent estimation. To figure that out, I have to profile the charging process. I wrote a script to do that, but I'd like to obtain samples from other N900 users. This enables me to get more samples faster and I can cross-check my code with other charging profiles.
If you want to help me out, use the following script:
#/bin/sh
FILE=$(date +%s|tr -d '\n').charge
while true
do
date +%s|tr -d '\n' >> $FILE
lshal|grep battery >> $FILE
echo "-- " >> $FILE
sleep 30
done
Put this code into the file /home/user/profile.sh, then cd into that directory (cd /home/user) and run chmod 755 profile.sh. When you are going to charge your device, open a terminal and run ./profile.sh before attaching the charger. Quit the script (ctrl-c) after you detached the charger. The script will generate a file with a timestamp and the suffix charge, for example 1262531100.charge. (Note that the internal file browser does not display suffixes). Send me these files; you may remove them afterwards. Please only send in files of charging processes where the device was fully charged, and if possible, write me which charger (USB or power outlet) you used, if WLAN was active and whether the device was idle during charging process.
I can't promise that the data will be accurate enough for a widget to predict charging time, but I promise I'll publish some graphs and analysis of the data if enough samples are returned.
Best regards and thank you
Matt
EDIT:
1. send the files to weyland - a t - library.ethz.ch
2. I was asked whether the script has to be stopped right after the battery gets fully charged. This is not necessary, you can keep the script running and stop it after you come back from whatever you were doing in the meantime. But please don't stop the script before the battery gets full, so that I can use the log file to determine precisely when this happens.
Last edited by papo; 2010-01-04 at 00:01.