Xfce Forum

Sub domains
 

You are not logged in.

#1 2024-01-20 20:22:02

jakfish
Member
Registered: 2019-12-23
Posts: 55

Stop xfce from an Automatic Shutdown

Specs: current Manjaro/current xfce/One Netbook A1

The A1 has a buggy battery percentage--it's fully charged at 75% and can go for another half hour at 0%

I've commented out all battery warnings/actions in /etc/UPower/UPower.conf, I've disabled upower in terminal, but the machine continues to shut down at 2%.

Is there any way to stop this?

Thank you.

Offline

#2 2024-01-22 15:41:41

jakfish
Member
Registered: 2019-12-23
Posts: 55

Re: Stop xfce from an Automatic Shutdown

Follow-up:

The maintainers of upower are loath to change the options for critical action in /etc/upower/upower.conf. At 0%, the machine will either hybrid-sleep or if that's unavailable, upower will shut down the machine without warning.

One workaround:

systemctl stop upower.service 
systemctl mask upower.service 

A user could script/keystroke this and call it at 2%.

These commands are persistent, and upower would need reactivation by reversing the script.

Offline

Board footer

Powered by FluxBB