nix-community/plasma-manager

powerdevil: also allow setting options for BAT

Closed this issue · 1 comments

right now settings for powerdevil only affect AC related settings but not for BAT.

For example setting

powerdevil = {
    autoSuspend = {
        action = "nothing";
        idleTimeout = null;
    };
    turnOffDisplay.idleTimeout = 900;
};

results in

[AC][Display]
TurnOffDisplayIdleTimeoutSec=900

[AC][SuspendAndShutdown]
AutoSuspendAction=0

I would also like to set the settings for BAT.

edit: typo (i meant settings for powerdevil only affect AC related settings but not for BAT)