我在 Lemur 笔记本电脑的 BIOS 设置中禁用了低电量警报,但当电池电量低时,警报仍会响起。声音非常响亮且烦人的哔哔声,每隔几秒钟重复一次。笔记本电脑如果不插入电源还可以使用 20 分钟,因此无论如何都无法正确检测电池电量。我发现,如果我将音频静音,哔哔声就会停止,但我显然无法再听到任何声音。如果我将音量重新打开,即使只有 1%,电池警报也会再次以最大音量发出。我记得以前有一个混音器可以控制内置扬声器,所以如果我能再次找到它,那么也许我可以将其静音并解决这个问题。
我使用的是 Ubuntu 14.04。请注意,我说的不是低电量通知,这是通过 gnome 发出的;而是低电量警报,这是每隔几秒钟通过内置扬声器发出的非常响亮的哔哔声。不过,以下是我的 gnome 电源设置:
$ gsettings list-recursively org.gnome.settings-daemon.plugins.power
org.gnome.settings-daemon.plugins.power button-power 'interactive'
org.gnome.settings-daemon.plugins.power critical-battery-action 'nothing'
org.gnome.settings-daemon.plugins.power percentage-low 1
org.gnome.settings-daemon.plugins.power priority 0
org.gnome.settings-daemon.plugins.power lid-close-suspend-with-external-monitor false
org.gnome.settings-daemon.plugins.power idle-dim false
org.gnome.settings-daemon.plugins.power button-hibernate 'hibernate'
org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type 'suspend'
org.gnome.settings-daemon.plugins.power button-sleep 'suspend'
org.gnome.settings-daemon.plugins.power button-suspend 'suspend'
org.gnome.settings-daemon.plugins.power sleep-inactive-battery-timeout 0
org.gnome.settings-daemon.plugins.power time-low 1200
org.gnome.settings-daemon.plugins.power lid-close-ac-action 'nothing'
org.gnome.settings-daemon.plugins.power notify-perhaps-recall true
org.gnome.settings-daemon.plugins.power percentage-critical 1
org.gnome.settings-daemon.plugins.power percentage-action 1
org.gnome.settings-daemon.plugins.power sleep-inactive-battery-type 'suspend'
org.gnome.settings-daemon.plugins.power time-action 120
org.gnome.settings-daemon.plugins.power lid-close-battery-action 'nothing'
org.gnome.settings-daemon.plugins.power idle-brightness 30
org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 0
org.gnome.settings-daemon.plugins.power time-critical 300
org.gnome.settings-daemon.plugins.power active true
org.gnome.settings-daemon.plugins.power use-time-for-policy false
$
答案1
如果您已经在 BIOS 中禁用了该设置,但停用模块却没有帮助(如下所述),则 BIOS 中可能存在错误。
禁用内置扬声器:
sudo modprobe -r pcspkr snd_pcsp
要获得永久解决方案,请编辑/etc/modprobe.d/blacklist.conf
sudo nano /etc/modprobe.d/blacklist.conf
并添加/更改
# low-quality, just noise when being used for sound playback, causes
# hangs at desktop session start (Ubuntu: #246969)
blacklist snd_pcsp
# ugly and loud noise, getting on everyone's nerves; this should be done by a
# nice pulseaudio bing (Ubuntu: #77010)
blacklist pcspkr