gyim / breviar-ios

Liturgy of the Hours for iOS
5 stars 1 forks source link

Lock screen after period of inactivity #50

Closed breviar-sk closed 6 years ago

breviar-sk commented 7 years ago

Currently, the application does not lock screen which is useful for longer prayer (or meditative praying). But when user forgets to close the app (pressing home button for example) or otherwise exit from it, the screen still remains active especially when user falls asleep :)

App should contain some time period of inactivity after which screen is locked (possibly longer than default iOS setting).

breviar-sk commented 7 years ago

Maybe user could choose:

Lock screen after period of inactivity:

gyim commented 6 years ago

I think this solution (re-enabling timer after 30 minutes) is a good start. It will prevent the battery to drain if somebody falls asleep, and will prevent auto locking in most cases.