I have a way to measure battery power
|
06-28-2017, 12:05 PM
Post: #10
|
|||
|
|||
RE: I have a way to measure battery power
(06-27-2017 10:43 AM)webmasterpdx Wrote: I wrote a utility to give me the value and so far, it's given me 100% and 80%, so it's not following the internal hardware values....but who cares as long as it's close. Here is my utility... Do you really need a loop? There are only 4 possible levels so test the top row. If it's green, you're at 100%, test the next level, if green, you're at 75%, the next level is 50% and the last level is 25% Of course those levels will have to be determined but it shouldn't be too hard to do. You can even test certain pixels in the lightning bolt for yellow to know if the calculator is charging or not. Tom L Cui bono? |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 7 Guest(s)