How are you?
Currently I work on energy efficiency issues on N95. I have two doubts. Hopefully you guys can help me. Thanks!
1. I need to know the current remaining battery energy. I found a sysinfo function, battery(), which shows the energy level from 0 (empty) to 100 (full). Do you know how the total battery capacity is divided into these 101 levels? Is it divided uniformly?
2. Is the accelerometer sensing the position all the time? If it is, then I want the accelerometer to sense for while and then sleep for a while, then sense for a while and sleep for a while. I plan to control this by connect() and disconnect() functions. But how can I achieve this control? Is there some function like timer in Python?
Your help will be appreciated greatly!
Have a nice day!