summaryrefslogtreecommitdiff
path: root/src/components/battery
AgeCommit message (Expand)AuthorFilesLines
2022-12-27cutout scaling hackminacode1-5/+0
2022-12-27formatminacode1-1/+1
2022-12-27added message, changed UIminacode2-5/+9
2022-12-27add percentage rescalingminacode1-1/+7
2022-12-27added low battery messageminacode2-0/+7
2022-12-18Update clang-tidy configuration and fix some warnings (#1474)Riku Isokoski1-6/+4
2022-11-19Add linear approximation and use it for improving battery percentageAlex Dolzhenkov2-36/+10
2022-11-19Update BatteryController.h with non-linear discharge curvehassless2-5/+36
2021-12-04Switched to non-deprecated math headerAvamander1-0/+1
2021-11-15Update includes to to be relative to src directoryReinhold Gschweicher1-1/+1
2021-10-09Don't measure and notify percentage on charging event.Riku Isokoski2-2/+7
2021-10-04Improve battery percentage calculation and reportingRiku Isokoski2-5/+11
2021-09-22Show plug icon while plugged inRiku Isokoski1-1/+1
2021-09-22Merge branch 'develop' into detect_full_chargeRiku Isokoski2-11/+14
2021-09-13Merge branch 'develop' into pinmaphubmartin2-7/+11
2021-09-03Use percentage instead of IsFullRiku Isokoski1-4/+0
2021-09-03Detect full charge and improve watchface displayRiku Isokoski2-3/+16
2021-08-14Make battery reading periodic. Add events. Disable pullupRiku Isokoski2-7/+11
2021-08-11Merge branch 'develop' into pinmaphubmartin2-58/+17
2021-08-03Cleanup, set Pinetime as defaulthubmartin2-1/+1
2021-08-03PinMap with namespace and constexprhubmartin2-5/+3
2021-08-02DRAFT: Put gpio pins to separate filehubmartin1-1/+2
2021-08-01Remove floating point calculationRiku Isokoski1-2/+2
2021-07-27Increase ADC precisionRiku Isokoski1-4/+4
2021-07-13Merge branch 'develop' into fix_adcRiku Isokoski2-13/+13
2021-07-12Fix misconfigured ADC and remove now unnecessary filteringRiku Isokoski2-48/+4
2021-07-11Notify battery level every 10 minutes when connected to a BLE host.Jean-François Milants2-17/+14
2021-07-04Whitespace and brace fixes (#456)Avamander1-1/+2
2021-07-02Float voltage to int (#444)Riku Isokoski2-8/+12
2021-07-02static_cast cleanupAvamander1-1/+1
2021-05-16Emit event on power-present toggle (#320)David Ventura1-1/+0
2021-04-24Changed access modified indentationAvamander1-4/+4
2021-04-24Reformatted all the files according to clang-format styleAvamander2-82/+85
2021-04-16In order to stabilize the battery reading,Joaquim2-8/+22
2021-04-08restore battery bufferJoaquim2-10/+40
2021-04-05Fix wake up lock in twiJoaquim2-29/+31
2021-04-04double tap wakeup error fixJoaquim2-54/+67
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-codes2-6/+6
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 p...panky-codes2-3/+33
2020-11-16Include cleanup: componentsokaestne2-3/+2
2020-10-02Fixed all the includes that were broken due to the renamesAvamander2-0/+75