Thread
:
N800 Battery Meter
View Single Post
Matan
2009-01-23 , 12:42
Posts: 1,224 | Thanked: 1,763 times | Joined on Jul 2007
#
43
Originally Posted by
solca
Hi KotCzarny!
And do you know where to obtain if AC is plugged or not?
You can tell if AC is connected by reading ADC number 3. I believe it shows input voltage level (or something similar). It appears to give three levels:
0 - No power source connected
about 0x100 - power source connected, charging
about 0x170 - power source connected, not charging.
If it is indeed showing input voltage level, then the reading will depend on charger used. A well regulated source will give the same level, whether charging or not.
Quote & Reply
|
The Following 2 Users Say Thank You to Matan For This Useful Post:
slonopotamus
,
solca
Matan
View Public Profile
Send a private message to Matan
Find all posts by Matan