Work around/disable power saving mode (best practice)
Which methodology is intended by Jolla for disabling certain power saving features (because an application needs to execute code while the device is not actively used)?
(This was also asked on the SfOS mailing list and I stumbled upon it because I'm currently developing an application which disabled charging after reaching a given limit (say 70%) in order to conserve battery lifetime, just as a small exercise)
I found 2 possible approaches (see below), but I wonder why the hell neither of them is documented at all (there's just plain code, nothing else).
This was somehow already asked and even marked as "tracked by Jolla" 3 years ago, but I couldn't find any official statement from Jolla regarding this issue ever since.
What about Jolla Powersave Settings? https://openrepos.net/content/coderus/jolla-powersave-settings
objectifnul ( 2018-03-18 21:46:34 +0200 )editThat's snakeoil for me - I don't know the meaning of the dbus settings it modifies, and hey, even the dev said he doesn't know... There is another charge control app out there, but afaik not for Xperia X (or it at least used other, imho strange, sysfs paths).
takimata ( 2018-03-18 22:39:49 +0200 )edit