InfiniTime icon indicating copy to clipboard operation
InfiniTime copied to clipboard

Open battery app when charging

Open KaffeinatedKat opened this issue 2 years ago • 3 comments

This change makes the battery info app open upon putting the watch on the charger, if the current app is the clock (as to not close any app that might be running). If the watch is taken off the charger while the battery app is open, it returns to the clock.

This pr also removes the vibration while charging if the battery app is opened/closed, which should help prevent #724.

KaffeinatedKat avatar Oct 04 '23 23:10 KaffeinatedKat

Build size and comparison to main:

Section Size Difference
text 376816B 16B
data 940B 0B
bss 63420B 0B

github-actions[bot] avatar Oct 04 '23 23:10 github-actions[bot]

This might be better as kind of popup, like a notification with that 5 second timeout.

LinuxinaBit avatar Nov 09 '23 16:11 LinuxinaBit

I've included this patchset as part of a larger configuration that allows auto-opening apps based on certain events: https://github.com/InfiniTimeOrg/InfiniTime/pull/2004/commits

This makes this feature optional/configurable.

vkareh avatar Feb 09 '24 19:02 vkareh