summaryrefslogtreecommitdiff
path: root/src/components/battery/BatteryController.h
AgeCommit message (Collapse)AuthorFilesLines
2021-07-11Notify battery level every 10 minutes when connected to a BLE host.Jean-François Milants1-7/+11
Refactor battery percent : only use uint8_t to store the battery % remaining.
2021-07-02Float voltage to int (#444)Riku Isokoski1-3/+3
* Change voltage float to millivolt integer * Explain the ADC to milliVolts conversion
2021-04-24Changed access modified indentationAvamander1-4/+4
2021-04-24Reformatted all the files according to clang-format styleAvamander1-41/+48
2021-04-16In order to stabilize the battery reading,Joaquim1-2/+5
I modified the process to make 5 consecutive readings, as the process is asynchronous, there is no interference in the main process.
2021-04-08restore battery bufferJoaquim1-2/+38
2021-04-05Fix wake up lock in twiJoaquim1-2/+10
optimize battery code
2021-04-04double tap wakeup error fixJoaquim1-37/+10
battery nonblocking read
2021-01-17Added more descriptive comments in doxygen format.panky-codes1-9/+15
2021-01-16Changed float to int in battery controller file.panky-codes1-2/+2
2021-01-16Changed std accumulate to use int instead of a float.panky-codes1-1/+1
2021-01-16Converted all the other float usage to int.panky-codes1-1/+1
2021-01-16Converted percent remaining calc to int.panky-codes1-3/+3
2021-01-14Adapted the accumulate function to return float.panky-codes1-1/+2
2021-01-14Implemented a circular buffer and added an average alg for batter remaining ↵panky-codes1-2/+30
percentage.
2020-11-16Include cleanup: componentsokaestne1-1/+1
2020-10-02Fixed all the includes that were broken due to the renamesAvamander1-0/+27