Tweak power settings and timings
When sleeping enter standby then hibernate Default autoSuspend action still sleep, except low power which is direct to hibernate Reduce idle times for battery and lower power settings
This commit is contained in:
parent
cf65c7ddad
commit
6606da7db7
|
@ -204,16 +204,15 @@
|
|||
|
||||
powerdevil =
|
||||
let
|
||||
powerButtonAction = "showLogoutScreen";
|
||||
autoSuspend.action = "sleep";
|
||||
whenSleepingEnter = "standby";
|
||||
whenLaptopLidClosed = "turnOffScreen";
|
||||
powerButtonAction = "turnOffScreen";
|
||||
whenSleepingEnter = "standbyThenHibernate";
|
||||
whenLaptopLidClosed = "sleep";
|
||||
in
|
||||
{
|
||||
AC = {
|
||||
inherit powerButtonAction whenSleepingEnter whenLaptopLidClosed;
|
||||
autoSuspend = {
|
||||
inherit (autoSuspend) action;
|
||||
action = "sleep";
|
||||
idleTimeout = 7200;
|
||||
};
|
||||
dimDisplay = {
|
||||
|
@ -228,30 +227,30 @@
|
|||
battery = {
|
||||
inherit powerButtonAction whenSleepingEnter whenLaptopLidClosed;
|
||||
autoSuspend = {
|
||||
inherit (autoSuspend) action;
|
||||
idleTimeout = 1800;
|
||||
action = "sleep";
|
||||
idleTimeout = 900;
|
||||
};
|
||||
dimDisplay = {
|
||||
enable = true;
|
||||
idleTimeOut = 120;
|
||||
};
|
||||
turnOffDisplay = {
|
||||
idleTimeout = 900;
|
||||
idleTimeout = 300;
|
||||
idleTimeoutWhenLocked = 60;
|
||||
};
|
||||
};
|
||||
lowBattery = {
|
||||
inherit powerButtonAction whenSleepingEnter whenLaptopLidClosed;
|
||||
autoSuspend = {
|
||||
inherit (autoSuspend) action;
|
||||
idleTimeout = 900;
|
||||
action = "hibernate";
|
||||
idleTimeout = 300;
|
||||
};
|
||||
dimDisplay = {
|
||||
enable = true;
|
||||
idleTimeOut = 60;
|
||||
};
|
||||
turnOffDisplay = {
|
||||
idleTimeout = 300;
|
||||
idleTimeout = 120;
|
||||
idleTimeoutWhenLocked = "immediately";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue