| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | linearapproximation: Move to src/utility | Finlay Davidson | 2023-03-27 | 1 | -1/+1 |
| | | |||||
| * | Revert "added low battery message" | Riku Isokoski | 2023-03-02 | 2 | -17/+0 |
| | | | | | This reverts PR https://github.com/InfiniTimeOrg/InfiniTime/pull/1352 | ||||
| * | batt: Improve discharge curve values | Finlay Davidson | 2023-01-23 | 1 | -9/+4 |
| | | | | | Values calculated using multiple tests on 3 PineTimes | ||||
| * | Format header files | Finlay Davidson | 2023-01-09 | 1 | -0/+1 |
| | | | | | In my PR updating clang-format, I forgot to also format the headers. | ||||
| * | format | minacode | 2022-12-27 | 1 | -1/+0 |
| | | |||||
| * | changed to bool | minacode | 2022-12-27 | 2 | -3/+8 |
| | | |||||
| * | fixed a comment, set threshold to 15% | minacode | 2022-12-27 | 2 | -2/+2 |
| | | |||||
| * | cutout scaling hack | minacode | 2022-12-27 | 1 | -5/+0 |
| | | |||||
| * | format | minacode | 2022-12-27 | 1 | -1/+1 |
| | | |||||
| * | added message, changed UI | minacode | 2022-12-27 | 2 | -5/+9 |
| | | |||||
| * | add percentage rescaling | minacode | 2022-12-27 | 1 | -1/+7 |
| | | |||||
| * | added low battery message | minacode | 2022-12-27 | 2 | -0/+7 |
| | | |||||
| * | Update clang-tidy configuration and fix some warnings (#1474) | Riku Isokoski | 2022-12-18 | 1 | -6/+4 |
| | | | | | | Don't enable coding conventions from unrelated projects. Only enable generic checks. | ||||
| * | Add linear approximation and use it for improving battery percentage | Alex Dolzhenkov | 2022-11-19 | 2 | -36/+10 |
| | | | | | | | | | Add linear approximation class and use it to better model the non-linear discharge curve of the battery. Changed the minimum voltage level to 3.5V and the maximum to 4.18V. For reference the maximum observed voltage is 4.21V during charging. | ||||
| * | Update BatteryController.h with non-linear discharge curve | hassless | 2022-11-19 | 2 | -5/+36 |
| | | |||||
| * | Switched to non-deprecated math header | Avamander | 2021-12-04 | 1 | -0/+1 |
| | | |||||
| * | Update includes to to be relative to src directory | Reinhold Gschweicher | 2021-11-15 | 1 | -1/+1 |
| | | | | | | | | Don't use relative imports like `../foo.h` as those depend on the relative position of both files. Rather than that use imports relative to the `src` directory, which explicitly is part of the include directories. | ||||
| * | Don't measure and notify percentage on charging event. | Riku Isokoski | 2021-10-09 | 2 | -2/+7 |
| | | |||||
| * | Improve battery percentage calculation and reporting | Riku Isokoski | 2021-10-04 | 2 | -5/+11 |
| | | | | | | While charging, percentage should only go up, and while discharging, percentage should only go down. | ||||
| * | Show plug icon while plugged in | Riku Isokoski | 2021-09-22 | 1 | -1/+1 |
| | | |||||
| * | Merge branch 'develop' into detect_full_charge | Riku Isokoski | 2021-09-22 | 2 | -11/+14 |
| |\ | |||||
| | * | Merge branch 'develop' into pinmap | hubmartin | 2021-09-13 | 2 | -7/+11 |
| | |\ | |||||
| | | * | Make battery reading periodic. Add events. Disable pullup | Riku Isokoski | 2021-08-14 | 2 | -7/+11 |
| | | | | |||||
| | * | | Merge branch 'develop' into pinmap | hubmartin | 2021-08-11 | 2 | -57/+16 |
| | |\| | |||||
| | * | | Cleanup, set Pinetime as default | hubmartin | 2021-08-03 | 2 | -1/+1 |
| | | | | |||||
| | * | | PinMap with namespace and constexpr | hubmartin | 2021-08-03 | 2 | -5/+3 |
| | | | | |||||
| | * | | DRAFT: Put gpio pins to separate file | hubmartin | 2021-08-02 | 1 | -1/+2 |
| | | | | |||||
| * | | | Use percentage instead of IsFull | Riku Isokoski | 2021-09-03 | 1 | -4/+0 |
| | | | | |||||
| * | | | Detect full charge and improve watchface display | Riku Isokoski | 2021-09-03 | 2 | -3/+16 |
| | |/ |/| | |||||
| * | | Remove floating point calculation | Riku Isokoski | 2021-08-01 | 1 | -2/+2 |
| | | | |||||
| * | | Increase ADC precision | Riku Isokoski | 2021-07-27 | 1 | -4/+4 |
| | | | |||||
| * | | Merge branch 'develop' into fix_adc | Riku Isokoski | 2021-07-13 | 2 | -13/+13 |
| |\| | |||||
| | * | Notify battery level every 10 minutes when connected to a BLE host. | Jean-François Milants | 2021-07-11 | 2 | -17/+14 |
| | | | | | | | | | Refactor battery percent : only use uint8_t to store the battery % remaining. | ||||
| * | | Fix misconfigured ADC and remove now unnecessary filtering | Riku Isokoski | 2021-07-12 | 2 | -48/+4 |
| |/ | |||||
| * | Whitespace and brace fixes (#456) | Avamander | 2021-07-04 | 1 | -1/+2 |
| | | | | | | * Brace style and whitespace fixes * Additional whitespace fixes | ||||
| * | Float voltage to int (#444) | Riku Isokoski | 2021-07-02 | 2 | -8/+12 |
| | | | | | * Change voltage float to millivolt integer * Explain the ADC to milliVolts conversion | ||||
| * | static_cast cleanup | Avamander | 2021-07-02 | 1 | -1/+1 |
| | | |||||
| * | Emit event on power-present toggle (#320) | David Ventura | 2021-05-16 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | * 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 | ||||
| * | Changed access modified indentation | Avamander | 2021-04-24 | 1 | -4/+4 |
| | | |||||
| * | Reformatted all the files according to clang-format style | Avamander | 2021-04-24 | 2 | -82/+85 |
| | | |||||
| * | In order to stabilize the battery reading, | Joaquim | 2021-04-16 | 2 | -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 buffer | Joaquim | 2021-04-08 | 2 | -10/+40 |
| | | |||||
| * | Fix wake up lock in twi | Joaquim | 2021-04-05 | 2 | -29/+31 |
| | | | | | optimize battery code | ||||
| * | double tap wakeup error fix | Joaquim | 2021-04-04 | 2 | -54/+67 |
| | | | | | battery nonblocking read | ||||
| * | Added more descriptive comments in doxygen format. | panky-codes | 2021-01-17 | 1 | -9/+15 |
| | | |||||
| * | Changed float to int in battery controller file. | panky-codes | 2021-01-16 | 1 | -2/+2 |
| | | |||||
| * | Changed std accumulate to use int instead of a float. | panky-codes | 2021-01-16 | 1 | -1/+1 |
| | | |||||
| * | Converted all the other float usage to int. | panky-codes | 2021-01-16 | 1 | -1/+1 |
| | | |||||
| * | Converted percent remaining calc to int. | panky-codes | 2021-01-16 | 2 | -6/+6 |
| | | |||||
| * | Adapted the accumulate function to return float. | panky-codes | 2021-01-14 | 1 | -1/+2 |
| | | |||||
