Though it is device dependent, I have Nothing Phone 1 installed LineageOS and it has charging control support too which can be configured in org.lineageos.lineageparts/.health.ChargingControlSettings activity.
LineageOS has its own settings in a dedicated namespace, so there is a custom --lineage flag exists in LineageOS builds.
# settings list --lineage system | grep charging
charging_control_charging_limit=90
charging_control_enabled=1
charging_control_mode=3
charging_control_start_time=79200
charging_control_target_time=32400
Which can also be accessed from this content URI: content://lineagesettings/system.
According to LineageOS source the charging control setting values follows:
charging_control_enabled
- 1 = Enabled, 0 = Disabled
charging_control_mode
- 1 = Automatic schedule, 2 = Custom schedule, 3 = Percent limit
charging_control_charging_limit
- A percent value between 70 and 100, valid when
charging_control_mode is set to 3.
charging_control_start_time and charging_control_target_time
- Seconds since midnight, valid when
charging_control_mode is set to 2.
I felt it would be helpful to leave this information here as a reference in case anyone is interested, hope that is fine.
Though it is device dependent, I have Nothing Phone 1 installed LineageOS and it has charging control support too which can be configured in
org.lineageos.lineageparts/.health.ChargingControlSettingsactivity.LineageOS has its own settings in a dedicated namespace, so there is a custom
--lineageflag exists in LineageOS builds.Which can also be accessed from this content URI:
content://lineagesettings/system.According to LineageOS source the charging control setting values follows:
charging_control_enabledcharging_control_modecharging_control_charging_limitcharging_control_modeis set to3.charging_control_start_timeandcharging_control_target_timecharging_control_modeis set to2.I felt it would be helpful to leave this information here as a reference in case anyone is interested, hope that is fine.