Alright, so I did some tests and here's what I needed to change ON THE PHONE.
UsePercentageForPolicy=true CriticalPowerAction=PowerOff
The default critical power action is: HybridSleep
Those changes work fine on the phone, but upower has only 1 configuration file, there is no different configuration for the desktop and the phone.
If we change the values like I noted above this is going to affect the desktop.
I think we should create a separated config package for each device config.
Alright, so I did some tests and here's what I needed to change ON THE PHONE.
UsePercentageFo rPolicy= true tion=PowerOff
CriticalPowerAc
The default critical power action is: HybridSleep
Those changes work fine on the phone, but upower has only 1 configuration file, there is no different configuration for the desktop and the phone.
If we change the values like I noted above this is going to affect the desktop.
I think we should create a separated config package for each device config.