| Age | Commit message (Collapse) | Author |
|
|
|
While charging, percentage should only go up, and while discharging,
percentage should only go down.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Refactor battery percent : only use uint8_t to store the battery % remaining.
|
|
* Change voltage float to millivolt integer
* Explain the ADC to milliVolts conversion
|
|
|
|
|
|
I modified the process to make 5 consecutive readings,
as the process is asynchronous,
there is no interference in the main process.
|
|
|
|
optimize battery code
|
|
battery nonblocking read
|
|
|
|
|
|
|
|
|
|
|
|
|
|
percentage.
|
|
|
|
|