summaryrefslogtreecommitdiff
path: root/src/components/battery/BatteryController.cpp
AgeCommit message (Collapse)Author
2021-07-02Float voltage to int (#444)Riku Isokoski
* Change voltage float to millivolt integer * Explain the ADC to milliVolts conversion
2021-07-02static_cast cleanupAvamander
2021-05-16Emit event on power-present toggle (#320)David Ventura
* Emit event on power-present toggle * clang-format on changes * also update battery status on any event * update comments; remove double battery update * Fix formatting * Vibrate shortly on charging event * debounce charge event
2021-04-24Reformatted all the files according to clang-format styleAvamander
2021-04-16In order to stabilize the battery reading,Joaquim
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 bufferJoaquim
2021-04-05Fix wake up lock in twiJoaquim
optimize battery code
2021-04-04double tap wakeup error fixJoaquim
battery nonblocking read
2021-01-16Converted percent remaining calc to int.panky-codes
2021-01-14Implemented a circular buffer and added an average alg for batter remaining ↵panky-codes
percentage.
2020-11-16Include cleanup: componentsokaestne
2020-10-02Fixed all the includes that were broken due to the renamesAvamander