aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/battery
Commit message (Collapse)AuthorAgeFilesLines
* In order to stabilize the battery reading,Joaquim2021-04-162-8/+22
| | | | | | I modified the process to make 5 consecutive readings, as the process is asynchronous, there is no interference in the main process.
* restore battery bufferJoaquim2021-04-082-10/+40
|
* Fix wake up lock in twiJoaquim2021-04-052-29/+31
| | | | optimize battery code
* double tap wakeup error fixJoaquim2021-04-042-54/+67
| | | | battery nonblocking read
* Added more descriptive comments in doxygen format.panky-codes2021-01-171-9/+15
|
* Changed float to int in battery controller file.panky-codes2021-01-161-2/+2
|
* Changed std accumulate to use int instead of a float.panky-codes2021-01-161-1/+1
|
* Converted all the other float usage to int.panky-codes2021-01-161-1/+1
|
* Converted percent remaining calc to int.panky-codes2021-01-162-6/+6
|
* Adapted the accumulate function to return float.panky-codes2021-01-141-1/+2
|
* Implemented a circular buffer and added an average alg for batter remaining ↵panky-codes2021-01-142-3/+33
| | | | percentage.
* Include cleanup: componentsokaestne2020-11-162-3/+2
|
* Fixed all the includes that were broken due to the renamesAvamander2020-10-022-0/+75