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 =
|
powerdevil =
|
||||||
let
|
let
|
||||||
powerButtonAction = "showLogoutScreen";
|
powerButtonAction = "turnOffScreen";
|
||||||
autoSuspend.action = "sleep";
|
whenSleepingEnter = "standbyThenHibernate";
|
||||||
whenSleepingEnter = "standby";
|
whenLaptopLidClosed = "sleep";
|
||||||
whenLaptopLidClosed = "turnOffScreen";
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
AC = {
|
AC = {
|
||||||
inherit powerButtonAction whenSleepingEnter whenLaptopLidClosed;
|
inherit powerButtonAction whenSleepingEnter whenLaptopLidClosed;
|
||||||
autoSuspend = {
|
autoSuspend = {
|
||||||
inherit (autoSuspend) action;
|
action = "sleep";
|
||||||
idleTimeout = 7200;
|
idleTimeout = 7200;
|
||||||
};
|
};
|
||||||
dimDisplay = {
|
dimDisplay = {
|
||||||
|
@ -228,30 +227,30 @@
|
||||||
battery = {
|
battery = {
|
||||||
inherit powerButtonAction whenSleepingEnter whenLaptopLidClosed;
|
inherit powerButtonAction whenSleepingEnter whenLaptopLidClosed;
|
||||||
autoSuspend = {
|
autoSuspend = {
|
||||||
inherit (autoSuspend) action;
|
action = "sleep";
|
||||||
idleTimeout = 1800;
|
idleTimeout = 900;
|
||||||
};
|
};
|
||||||
dimDisplay = {
|
dimDisplay = {
|
||||||
enable = true;
|
enable = true;
|
||||||
idleTimeOut = 120;
|
idleTimeOut = 120;
|
||||||
};
|
};
|
||||||
turnOffDisplay = {
|
turnOffDisplay = {
|
||||||
idleTimeout = 900;
|
idleTimeout = 300;
|
||||||
idleTimeoutWhenLocked = 60;
|
idleTimeoutWhenLocked = 60;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
lowBattery = {
|
lowBattery = {
|
||||||
inherit powerButtonAction whenSleepingEnter whenLaptopLidClosed;
|
inherit powerButtonAction whenSleepingEnter whenLaptopLidClosed;
|
||||||
autoSuspend = {
|
autoSuspend = {
|
||||||
inherit (autoSuspend) action;
|
action = "hibernate";
|
||||||
idleTimeout = 900;
|
idleTimeout = 300;
|
||||||
};
|
};
|
||||||
dimDisplay = {
|
dimDisplay = {
|
||||||
enable = true;
|
enable = true;
|
||||||
idleTimeOut = 60;
|
idleTimeOut = 60;
|
||||||
};
|
};
|
||||||
turnOffDisplay = {
|
turnOffDisplay = {
|
||||||
idleTimeout = 300;
|
idleTimeout = 120;
|
||||||
idleTimeoutWhenLocked = "immediately";
|
idleTimeoutWhenLocked = "immediately";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue