aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/screens/BatteryIcon.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Refactor battery color calculation logic into ↵Jean-François Milants7 days1-0/+10
| | | | `BatteryIcon::ColorFromPercentage()`.
* Add low battery indicator to StatusIcons, digital and analog watchfacesRiku Isokoski2023-03-021-0/+14
| | | | Define deepOrange color in InfiniTimeTheme
* New sharper batteryicon. Remove old unused batteryiconsRiku Isokoski2022-04-251-12/+23
|
* Move up file header include to topReinhold Gschweicher2021-11-151-1/+1
|
* Update includes to to be relative to src directoryReinhold Gschweicher2021-11-151-2/+2
| | | | | | | 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.
* Merge branch 'improve-battery-percentage-to-battery-icon-mapping' of ↵Jean-François Milants2021-08-101-4/+4
|\ | | | | | | | | | | | | https://github.com/hassless/InfiniTime into hassless-improve-battery-percentage-to-battery-icon-mapping # Conflicts: # src/displayapp/screens/BatteryIcon.cpp
| * Update BatteryIcon.cpphassless2021-06-091-4/+4
| | | | | | Improvement to the mapping of battery percentage to the battery icon to be displayed.
* | Notify battery level every 10 minutes when connected to a BLE host.Jean-François Milants2021-07-111-1/+2
|/ | | | Refactor battery percent : only use uint8_t to store the battery % remaining.
* Reformatted all the files according to clang-format styleAvamander2021-04-241-7/+12
|
* Converted all the other float usage to int.panky-codes2021-01-161-5/+5
|
* Include cleanup: displayapp + screensokaestne2020-11-161-0/+1
|
* Renamed displayapp/Screens to displayapp/screensAvamander2020-10-021-0/+21