aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/screens/BatteryInfo.cpp
Commit message (Collapse)AuthorAgeFilesLines
* BatteryInfo App Redesign: Fixup (#2310)Titus2025-06-121-6/+9
| | | | * remove leading zeros from battery percentage * add correct colors matching the battery icon color thresholds
* BatteryInfo App Redesign using arc (#2236)Titus2025-03-141-20/+23
| | | | | | | | | | Redesign BatteryInfo App using an Arch widget instead of a bar. The colors I used are as follows: - Discharging (default): green - Charging: lime - Battery full: blue - Battery low (<10%): red
* Revert "added low battery message"Riku Isokoski2023-03-021-1/+1
| | | | This reverts PR https://github.com/InfiniTimeOrg/InfiniTime/pull/1352
* screens: Remove unused DisplayApp parametersRiku Isokoski2023-02-251-2/+1
|
* screens: Remove explicit Screen constructorsRiku Isokoski2023-02-251-1/+1
| | | | | This constructor didn't do anything since DisplayApp reference was removed from the Screen base class.
* displayapp: Make Battery class references constRiku Isokoski2023-02-241-1/+1
|
* added message, changed UIminacode2022-12-271-1/+1
|
* Centralize most color definitions (#1258)Riku Isokoski2022-08-161-4/+5
|
* Force full screen refresh with a rounder functionRiku Isokoski2022-05-081-6/+0
| | | | | | When the screen switches, the full screen needs to be refreshed for the hardware scrolling to work. This was enforced with backgroundLabels, but is simpler to do with a rounder function.
* Tweak gamma on ST7789 and match UI colorsRiku Isokoski2022-04-251-2/+2
| | | | | This change will increase the color accuracy of the PineTime and make UI development with the simulator easier.
* 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 'develop' into detect_full_chargeRiku Isokoski2021-09-221-2/+0
|\
| * Merge remote-tracking branch 'upstream/develop' into timer_battery_readingRiku Isokoski2021-08-301-13/+5
| |\
| * | Make battery reading periodic. Add events. Disable pullupRiku Isokoski2021-08-141-3/+0
| | |
* | | Use percentage instead of IsFullRiku Isokoski2021-09-031-1/+1
| | |
* | | Detect full charge and improve watchface displayRiku Isokoski2021-09-031-2/+2
| |/ |/|
* | Refresh reworkRiku Isokoski2021-07-191-13/+4
|/
* Merge branch 'lvgl_use_system_tick' of ↵Jean-François Milants2021-07-131-32/+4
|\ | | | | | | | | | | | | | | https://github.com/Riksu9000/InfiniTime into Riksu9000-lvgl_use_system_tick # Conflicts: # src/displayapp/screens/BatteryInfo.cpp # src/displayapp/screens/BatteryInfo.h
| * LVGL use system tickRiku Isokoski2021-07-071-34/+4
| |
* | Merge branch 'develop' into notify-battery-levelJean-François Milants2021-07-131-4/+4
|\ \ | | | | | | | | | | | | # Conflicts: # src/displayapp/screens/BatteryInfo.cpp
| * | Modify status text in BatteryInfo so it fits on screen (#437)kieranc2021-07-111-4/+4
| |/ | | | | * Modify status text in BatteryInfo so it fits on screen
* / Notify battery level every 10 minutes when connected to a BLE host.Jean-François Milants2021-07-111-39/+27
|/ | | | Refactor battery percent : only use uint8_t to store the battery % remaining.
* Float voltage to int (#444)Riku Isokoski2021-07-021-15/+2
| | | | * Change voltage float to millivolt integer * Explain the ADC to milliVolts conversion
* Reformatted all the files according to clang-format styleAvamander2021-04-241-49/+44
|
* In order to stabilize the battery reading,Joaquim2021-04-161-5/+10
| | | | | | I modified the process to make 5 consecutive readings, as the process is asynchronous, there is no interference in the main process.
* Big UI and navigation RewriteJoaquim2021-04-041-0/+144
new navigation add some color to the apps redesign menus new settings menu new quick settings code clean up size reduction by converting navigation images to font and more...