Files
bananarchy/overlay/rootfs/etc/bananarchy-power-policy.conf
T

24 lines
1.2 KiB
Plaintext
Raw Normal View History

# Bananarchy runtime power policy. Read by bananarchy-power-policy.sh.
# Edit as root, then run: doas /usr/bin/bananarchy-power-policy.sh apply
# (or reboot). Every knob is deliberately conservative by default.
# wcn36xx beacon listen interval (1-10). Higher values cut idle Wi-Fi RX
# wakeups but delay inbound packets. 0 removes the module option and uses
# the driver default. Applied at module load, so changes need a reboot or
# a wcn36xx module reload.
WIFI_LISTEN_INTERVAL=5
# Qualcomm modem DRX mode via AT$QCDRX (0, 6-9). 0 = firmware default, no
# policy. 6 = standard low-power paging cycle across active AT channels
# (~1.28 s DRX) while keeping both DSDS SIMs reachable. Values above 6 are
# undocumented on this firmware; 9 made the AT channel briefly unresponsive.
MODEM_DRX_MODE=6
# Secondary SIM (DSDS) policy while the panel is dark:
# active = keep both subscriptions provisioned (default)
# eco = deactivate the secondary GW provisioning session after
# DSDS_PARK_DELAY seconds of darkness, and reactivate it on wake.
# SIM2 is unreachable while parked. This uses QMI provisioning
# sessions, not SIM power-off, so a PIN-locked SIM stays locked.
DSDS_SECONDARY_MODE=active
DSDS_PARK_DELAY=300