This is an automated archive made by the Lemmit Bot.
The original was posted on /r/tasker by /u/andyooo on 2024-12-06 04:28:12+00:00.
The charging optimization feature “Limit to 80%” has just been added with the December update of Android 15 (a.k.a. QPR1). You need to grant secure settings permission to Tasker.
Tasker doesn’t detect it using the “find” feature on the Custom Setting action, nor the relevant settings appear on the secure settings list for some reason, but they can be manually input in the Custom Setting action, Type: Secure.
Set charge_optimization_mode
to 1
or 0
to enable or disable “Limit to 80%”.
If you want to toggle Adaptive Charging, set adaptive_charging_enabled
to 1
or 0
, but this is tricky. It is superseded by the “Limit to 80%” option, so if that’s enabled, this setting doesn’t work. You need to set charge_optimization mode
to 0
, for adaptive_charging_enabled
to work.