jakkra / ZSWatch

ZSWatch - the Open Source Zephyr™ based Smartwatch, including both HW and FW.
https://forms.gle/G48Sm5zDe9aCaYtT9
GNU General Public License v3.0
2.26k stars 191 forks source link

API to let apps disable on / off of the screen #164

Open Kampi opened 8 months ago

Kampi commented 8 months ago

@jakkra I´m not sure about the priority. Do you have an idea?

jakkra commented 8 months ago

@Kampi Low, but whenever someone needs it, we can implement it. Should be a simple one. Also possible right now for an app to workaround it just call the zsw_power_manager_reset_idle_timout every 10 seconds or something. So this is actually achievable right now

Kampi commented 8 months ago

@Kampi Low, but whenever someone needs it, we can implement it. Should be a simple one. Also possible right now for an app to workaround it just call the zsw_power_manager_reset_idle_timout every 10 seconds or something. So this is actually achievable right now

@ldab maybe a good solution for you?

ldab commented 8 months ago

@Kampi Low, but whenever someone needs it, we can implement it. Should be a simple one. Also possible right now for an app to workaround it just call the zsw_power_manager_reset_idle_timout every 10 seconds or something. So this is actually achievable right now

@ldab maybe a good solution for you?

I find it ugly, but it is a solution. I think I will wait for the API as the speedometer app itself needs some tunning