# The classroom never sleeps, never dims, and never locks.
#
# Two failures on real hardware are behind this file. The power button put
# a room to sleep; and a machine left alone came back to a password prompt
# on an account that is meant to have no password, which strands the
# television until somebody arrives with SSH.
#
# PowerDevil decides all of it. It also takes logind's handle-power-key
# inhibitor while a session is running, so the logind drop-in on its own
# would be overruled by whatever this says.
#
# Every profile is marked immutable at the profile level, not just on the
# subgroups. PowerDevil loads an idle action only when the profile has a
# group for it, so what matters here is as much what is absent — no
# DimDisplay, no DPMSControl, no SuspendSession — as what is present, and
# a writable profile is one a leftover user file can add those back to.
# classroom-desktop-reset removes the user's copy at every login for the
# same reason.
#
# Every profile gets the same answer. A classroom machine has no battery,
# but a profile that exists and disagrees is worse than one that does not
# exist at all.
#
# 0 is no action.

[AC][$i]
icon=battery-charging

[AC][HandleButtonEvents][$i]
powerButtonAction=0
lidAction=0
triggerLidActionWhenExternalMonitorPresent=false

[Battery][$i]
icon=battery-060

[Battery][HandleButtonEvents][$i]
powerButtonAction=0
lidAction=0
triggerLidActionWhenExternalMonitorPresent=false

[LowBattery][$i]
icon=battery-low

[LowBattery][HandleButtonEvents][$i]
powerButtonAction=0
lidAction=0
triggerLidActionWhenExternalMonitorPresent=false
