Ubuntu 22.04 上没有关机或电量不足警告

Ubuntu 22.04 上没有关机或电量不足警告

我没有收到低电量警告,笔记本电脑电量为 0% 时就死机了。当我运行:

gsettings list-recursively | grep plugins.power

我得到:

org.gnome.settings-daemon.plugins.power ambient-enabled true
org.gnome.settings-daemon.plugins.power idle-brightness 30
org.gnome.settings-daemon.plugins.power idle-dim true
org.gnome.settings-daemon.plugins.power lid-close-ac-action 'suspend'
org.gnome.settings-daemon.plugins.power lid-close-battery-action 'suspend'
org.gnome.settings-daemon.plugins.power lid-close-suspend-with-external-monitor false
org.gnome.settings-daemon.plugins.power power-button-action 'interactive'
org.gnome.settings-daemon.plugins.power power-saver-profile-on-low-battery true
org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 3600
org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type 'nothing'
org.gnome.settings-daemon.plugins.power sleep-inactive-battery-timeout 1200
org.gnome.settings-daemon.plugins.power sleep-inactive-battery-type 'suspend'

笔记本电脑电量不足时不会关机, 我理解了

org.gnome.settings-daemon.plugins.power use-time-for-policy true
org.gnome.settings-daemon.plugins.power percentage-low 10
org.gnome.settings-daemon.plugins.power percentage-critical 3
org.gnome.settings-daemon.plugins.power percentage-action 2

缺失。我的 /etc/UPower/UPower.conf 没有改变,并且存在。

sudo systemctl status upower.service

正在运行。我该如何修复 UPower 再次发出警告并在电池电量不足时正常关闭?

相关内容