Closed Kampi closed 8 months ago
@ldab this PR should be OK, at least from looking at it. It's a different feature if apps want to keep the screen from going to sleep. That would be implemented some other way. It should not control it though settings, this should be done in another way
~It works for me~, when looking at you did, I was expecting to get the settings by example
settings_storage_get()
but whatever you did, ~works haha~.Hold on... doesn't work here, I think the debugger was keeping the screen on
Are you sure? I tested it again and the screen on my watch has been active for ~2h now, even with flick events. Also, it's more of a "dirty" fix, because (as @jakkra mentioned it) there is only a global option to disable screen off in the settings and I have added a check for it. The better solution is to add some sort of API for apps to prevent it. I added it as Issue (#164 ).
It works for me, when looking at you did, I was expecting to get the settings by examplesettings_storage_get()
but whatever you did,works haha.Hold on... doesn't work here, I think the debugger was keeping the screen on