You are not logged in.

#1 2014-04-21 19:28:34

skrat
Member
Registered: 2013-05-10
Posts: 39

Powering down, instead of suspending when battery is critical (Xfce)

I had this settings in XFCE Power Manager. It would suspend my system when battery level would cross some "critical" value. After recent updates, some other power management related issues struck me. My system would no longer suspend when lid was closed. I couldn't get this feature of XFCE Power Manager to work again, so I resorted to using systemd-logind. That helped, although I'd prefer to control this setting in user space using XFCE Power Manager.

Now I realized that when battery level gets critical, the system is powering down again, ignoring my setting in the XFCE Power Manager. Please help, how do I get Arch to work properly with Xfce Power Manager?

These are the journal entries when the power down was initiated, I couldn't track this to any of laptop-mode modules, neither to systemd-logind. Where is the "battery critical" action triggered and by whom?

Apr 21 20:49:57 apex systemd[1]: Removed slice system-suspend.slice.
Apr 21 20:49:57 apex systemd[1]: Stopping system-suspend.slice.
Apr 21 20:49:57 apex systemd[1]: Stopped target Bluetooth.
Apr 21 20:49:57 apex systemd[1]: Stopping Bluetooth.
Apr 21 20:49:57 apex systemd-logind[254]: System is powering down.
Apr 21 20:49:42 apex laptop-mode[24455]: (Data-loss sensitive features disabled.)
Apr 21 20:49:42 apex laptop-mode[24454]: enabled, active [unchanged]
Apr 21 20:49:42 apex laptop-mode[24453]: Laptop mode
Apr 21 20:49:41 apex laptop-mode[24440]: (Data-loss sensitive features disabled.)
Apr 21 20:49:41 apex laptop-mode[24439]: enabled, active [unchanged]
Apr 21 20:49:41 apex laptop-mode[24437]: Laptop mode
Apr 21 20:49:41 apex logger[24389]: ACPI action undefined: PNP0C0A:00
Apr 21 20:45:03 apex CROND[22052]: pam_unix(crond:session): session closed for user skrat
Apr 21 20:45:01 apex CROND[22053]: (skrat) CMD ($HOME/.workspace/bin/mkwallpaper $HOME/Pictures/desktop.png)
Apr 21 20:45:01 apex crond[22052]: pam_unix(crond:session): session opened for user skrat by (uid=0)
Apr 21 20:42:39 apex laptop-mode[20946]: (Data-loss sensitive features disabled.)
Apr 21 20:42:39 apex laptop-mode[20945]: enabled, active [unchanged]
Apr 21 20:42:39 apex laptop-mode[20944]: Laptop mode
Apr 21 20:42:39 apex kernel: EXT4-fs (sda2): re-mounted. Opts: discard,data=ordered,commit=0
Apr 21 20:42:38 apex laptop-mode[20283]: (Data-loss sensitive features disabled.)

Offline

#2 2014-04-21 19:51:18

toz
Member
Registered: 2011-10-28
Posts: 497

Re: Powering down, instead of suspending when battery is critical (Xfce)

xfce4-power-manager and upower 0.99 do not play well together. See: https://bbs.archlinux.org/viewtopic.php?id=180300).

To fix this problem, you can either downgrade upower or install xfce4-power-manager-git from AUR.

Offline

Board footer

Powered by FluxBB