Spyke
linux·Linuxbyrkk

[Question] How can I dim screen after 20s inactivity when running on battery? tlp/sway/arch/chromebook

I think this could save me some battery time. I checked tlp but could not find anything related. In Sway config with swayidle maybe? All help appreciated.

View original on lemmy.world
rkkreply
lemmy.world

Brightnessctl is installed and works just need a way to read whether is on ac or battery.

3

Are you running arch on the metal or through crostini/crouton? The second option probably will only respect chromeos' power management settings, but you may be able to flash a full uefi payload and get rid of chromeos completely with https://mrchromebox.tech/#fwscript

2

You reached the end

[Question] How can I dim screen after 20s inactivity when running on battery? tlp/sway/arch/chromebook | Spyke