I can only find API calls to read the system settings, not to set them, but maybe there is another way to do this that I haven't found yet?
I can only find API calls to read the system settings, not to set them, but maybe there is another way to do this that I haven't found yet?
In my watch face applications, I give the user the choice to enable "battery saver" (reduced number of displayed parameters, hiding seconds) - when "do not disturb" is turned on, or for a given period of time (set in the settings)
Oh, yes, that's exactly what I want to do. Which API call is it to enable battery saver? I couldn't find one.
I did find registerSleepEvent and registerWakeEvent, so that takes care of the timing for me.
I achieve saving battery consumption programmatically - in my first message I wrote exactly how I do it.