Files
bananarchy/overlay/rootfs/etc/bananarchy-power-policy.conf
T
Luxferre 8b466ef8ae Fix 2720 closed-flip call wakeups/preservation, live timezone sync, and Power menu
- Default CPU_RPM_SLEEP=0, CPU_L2_SLEEP=0, and MODEM_DRX_MODE=0 across bananarchy-power-policy.conf, bananarchy-power-policy.sh, bananarchy-display-power-sync, and kernel patch 0010 so closed-flip incoming calls wake APSS promptly via smd-edge without AT port contention.
- Serialize sxmo_modem.sh incoming/finished call checks, expire stale /tmp/sxmo_hangup_requested flags, re-verify live ModemManager call state before ringing/raising callscreen, guard idle/flip-open HANGUP_CLOSE paths in locker.so, callscreen.so, bananarchy-idle-lock.sh, and bananarchy-lid, preserve calls on flip-open (UNGRAB/RAISE), and add closed-flip cover call controls (bananarchy-cover-idle, bananarchy-cover-event.sh, bananarchy-volume-keys).
- Propagate live network/manual timezone updates across statusbar, locker.so, bananarchy-cover-idle, bananarchy-dsds, callscreen.so, and bananarchy-run-aligned without reboot (scripts/test-time-timezone-sync.py), remove non-functional Logout from the Power menu, ignore post-call sxmo_calls markers, add scripts/build-dwm-plugins.sh, and update a1114 (carbonara) hashes and docs.
2026-11-14 10:57:29 +02:00

44 lines
2.1 KiB
Plaintext

# 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 DSDS paging
# default (avoids competing with ModemManager on open /dev/wwan0at* ports).
# 6-9 remain opt-in for manual testing; values above 6 are undocumented on this
# firmware and may make the AT channel unresponsive.
MODEM_DRX_MODE=0
# 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
# Last-man APSS RPM/vMPM sleep handoff in cpuidle_qcom_spm (1 = enable).
# Keep 0 by default: per-core SPC with L2 retention stays active (< 0.2 ms
# wakeup on all GIC SPIs), whereas runtime L2_OFF/vMPM without CONFIG_SUSPEND
# collapses APSS GIC and drops internal smd-edge modem wakeups.
CPU_RPM_SLEEP=0
# Last-man L2 SAW2 retention / HSFS_OPEN state in cpuidle_qcom_spm (1 = enable).
# Keep 0 by default alongside CPU_RPM_SLEEP=0 so APSS GIC stays awake.
CPU_L2_SLEEP=0
# Mute unsolicited IPv6 router advertisements on wlan0 while the screen is off
# when wlan0 already holds an IPv4 address (1 = enable, restored on wake).
WIFI_SCREEN_OFF_IPV6_MUTE=1
# Opt-in modem RAT parking while the screen is off and wlan0 is up:
# keep = keep current RAT preference (default)
# gsm = park NAS mode preference to GSM after 30 s dark on Wi-Fi, restore on wake
WIFI_STANDBY_RAT=keep