View Single Post
Posts: 15 | Thanked: 2 times | Joined on Mar 2009 @ Lappeenranta, Finland
#26
Originally Posted by BrentDC View Post
I see why Nokia uses battery "smoothing".

I whipped up a shell script that polls (a hacked version of retu-adc) and this is what I got:

Code:
8:04 PM - 488
8:05 PM - 474
8:06 PM - 486
8:07 PM - 481
8:08 PM - 477
8:09 PM - 475
8:10 PM - 474
8:11 PM - 472
8:12 PM - 481
8:13 PM - 470
8:14 PM - 470
8:15 PM - 477
8:17 PM - 478
8:18 PM - 466
8:19 PM - 475
8:20 PM - 457
8:21 PM - 479
8:22 PM - 485
8:23 PM - 485
8:24 PM - 490
8:25 PM - 485
8:26 PM - 492
8:27 PM - 492
8:28 PM - 492
8:29 PM - 487
8:30 PM - 492
8:31 PM - 492
8:32 PM - 492
8:33 PM - 493
8:34 PM - 493
8:35 PM - 493
8:36 PM - 493
8:37 PM - 476
I was using the device normally from 8:04 to 8:21, you know, debugging the script, looking up linux commands on the web, etc. Then at 8:22 I went into offline mode, locked touchscreen and keys, and went and took a shower. 8:37 I checked what had happened when I was gone. Wow. I had no idea bettery levels were so unstable. This is something to work with, though.
2 questions...

1) someone knows how to translate those numeric values in percentage (%) ?

2) http://mrrau.dyndns.org:23280/n800/kcbatt/ is no longer available (browser goes in timeout)...someone knows were can I find the source code of that application?

i have to do some tests on the Nokia N810 and i have to record the trend of the battery draining...in C/C++ (battery-status is in python, but i don't know how to write the same code in C...)

thanks in advance.

bye bye