Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:sbrabec:branches:OBS_Maintained:nut
nut.openSUSE_Leap_42.1_Update
nut-powersave.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nut-powersave.patch of Package nut.openSUSE_Leap_42.1_Update
--- conf/upsmon.conf.sample +++ conf/upsmon.conf.sample @@ -130,6 +130,8 @@ # Example: # NOTIFYCMD /usr/local/ups/bin/notifyme +NOTIFYCMD /usr/lib/powersave/powersave-notify + # -------------------------------------------------------------------------- # POLLFREQ <n> # @@ -247,11 +249,11 @@ NOTIFYFLAG ONLINE SYSLOG NOTIFYFLAG COMMOK SYSLOG NOTIFYFLAG SHUTDOWN SYSLOG -NOTIFYFLAG ONBATT SYSLOG+WALL -NOTIFYFLAG LOWBATT SYSLOG+WALL -NOTIFYFLAG FSD SYSLOG+WALL -NOTIFYFLAG NOCOMM SYSLOG+WALL -NOTIFYFLAG COMMBAD SYSLOG+WALL +NOTIFYFLAG ONBATT SYSLOG+WALL+EXEC +NOTIFYFLAG LOWBATT SYSLOG+WALL+EXEC +NOTIFYFLAG FSD SYSLOG+WALL+EXEC +NOTIFYFLAG NOCOMM SYSLOG+WALL+EXEC +NOTIFYFLAG COMMBAD SYSLOG+WALL+EXEC # -------------------------------------------------------------------------- # RBWARNTIME - replace battery warning time in seconds --- README.SUSE +++ README.SUSE @@ -127,11 +127,11 @@ you should: - Verify, that suspend to disk works correctly with your desktop: - sudo systemctl hibernate + powersave -U (You can lose your unsaved data, if your computer does not support suspend.) - Change SHUTDOWNCMD in /etc/ups/upsmon.conf to: -SHUTDOWNCMD "/usr/bin/systemctl hibernate" +SHUTDOWNCMD "/usr/bin/powersave -U" - Verify, that your UPS provides reasonable grace period to complete suspend in all situations.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor