Skip to content

soc-qcom-sdm845: shutdown when battery is critical

Dylan Van Assche requested to merge dylanvanassche/pmaports:sdm845-upower into master

UPower defaults to HybridSleep mode when battery is critical. Since we allow suspending the device in regular use, this approach won't help in a critical battery case scenario. When the battery level is critical, shutdown the device instead.

Moreover, adjust the default levels for battery low, critical, critical action since they are too high for SDM845 devices.

Tested on SHIFT6mq

Edited by Dylan Van Assche

Merge request reports