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

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.006 seconds, 7 queries executed - Memory usage: 514.98 KiB (Peak: 528.8 KiB) ]