View Single Post
Posts: 233 | Thanked: 170 times | Joined on Nov 2009 @ Finland
#43
Originally Posted by Snafu View Post
This displays the string "Charging!" if the battery is being charged (and not just connected to the PC/Power together wit the percentage and a bar. (see screenshot)
The information is updated every 30 sec to save CPU-Cycles.
Nice! I did it with the temp-file only because of the cpu cycle issue and because I didn't know you can execute something every n seconds this way. I also haven't seen references to hal-device on the n900 before, so very interesting indeed!

I will be using your hack... er... solution now
__________________
Read about my N900 experiences from my blog.