Hello.
(BTW, laptop: Lenovo G550, 6 GB RAM, running Manjaro Deepin 16.06.1)
1) I wanted to set the physical power button to suspend/standby/sleep, so I changed the /etc/systemd/logind.conf file using Bluefish, but it still shuts down on pressing the button. Contents of the file:
Code:
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
#
# Entries in this file show the compile time defaults.
# You can change settings by editing this file.
# Defaults can be restored by simply deleting this file.
#
# See logind.conf(5) for details.
[Login]
#NAutoVTs=6
#ReserveVT=6
#KillUserProcesses=no
#KillOnlyUsers=
#KillExcludeUsers=root
#InhibitDelayMaxSec=5
#HandlePowerKey=suspend
HandleSuspendKey=ignore
#HandleHibernateKey=ignore
HandleLidSwitch=suspend
#HandleLidSwitchDocked=suspend
#PowerKeyIgnoreInhibited=no
#SuspendKeyIgnoreInhibited=no
#HibernateKeyIgnoreInhibited=no
#LidSwitchIgnoreInhibited=yes
#HoldoffTimeoutSec=30s
#IdleAction=suspend
#IdleActionSec=12min
#RuntimeDirectorySize=10%
#RemoveIPC=yes
#UserTasksMax=12288
I checked and I dont have pm-utils but I do have acpid installed (I think they are related to the issue but I dont know how). Please help me figure it out.
2) I'd like the system to give me warnings at Low and Critically low battery (kinda like how win10 does), but I'm not sure how to proceed. The power management tab in Deepin's Control Centre has no options regarding this. How should I do it?