InfiniTimeOrg / InfiniTime

Firmware for Pinetime smartwatch written in C++ and based on FreeRTOS
GNU General Public License v3.0
2.64k stars 907 forks source link

After a timeout (~30s?) after screen turns off from inactivity, return to clock face #1745

Closed sammyj85 closed 1 year ago

sammyj85 commented 1 year ago

Verification

Introduce the issue

If the screen turns off from inactivity (whichever state it ended up), next time you want to use the watch, chances are you want to see the time. So after 30-60s, it should return to the clock face next time the screen wakes up.

Preferred solution

The screen turns off after 15s of inactivity for me. After 30s of inactivity, it should set the state to clock face. Not sure if the micro goes to sleep at the same time the screen turns off, but it could set a timestamp of when the screen turned off. And when it wakes, it compares if more than 15s have passed since the timestamp, in which case it returns to the clock face, before displaying anything.

Version

1.12.0

Riksu9000 commented 1 year ago

Duplicate of #570. The currently relevant issues are #618 and/or #1592.