Files
bananarchy/overlay/rootfs/etc/bananarchy-power-policy.conf
T
Luxferre 2ae4ef34a2 Implement 0010 RPM/L2/WCD/UART deep-standby, Adreno 304 ICC/SMMU fixes, and C11 autostart daemons
- patches/kernel/0010-msm8909-rpm-lpm-bimc-wcd-ldo-uart.patch and device DTS/DTB files (nokia-{argon,beatles,beatles-cover,coconut,sparkler,leo}): vMPM APSS RPM sleep, L2 SAW2 collapse, WCD-digital runtime PM, PM8909 LDO seeding, ttyMSM0 disable, dynamic msm_gpu gfx-mem BIMC interconnect scaling (mas_oxili), and qcom_iommu context restore + atomic TLB flush on resume.
- Replace Python/shell autostart loops with compiled C11 ARM ELF daemons (bananarchy-dsds, bananarchy-modemmonitor, bananarchy-soundmonitor, bananarchy-notifmonitor, bananarchy-run-aligned, bananarchy-session-loop) plus scripts/test-dsds-daemon.py.
- Update scripts/check-rebuild.sh, CHANGELOG.md, BATTERY-OPTIMIZATION-ANALYSIS.md, MANUAL.md, README.md, and AGENTS.md with verified a1114 (carbonara) image/archive pins and guards.
2026-11-13 18:23:14 +02:00

41 lines
1.9 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 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
# Last-man APSS RPM/vMPM sleep handoff in cpuidle_qcom_spm (1 = enable).
# Lets the fourth/last idle CPU signal RPM so XO/DDR/MX/CX can enter sleep.
CPU_RPM_SLEEP=1
# Last-man L2 SAW2 retention / HSFS_OPEN state in cpuidle_qcom_spm (1 = enable).
CPU_L2_SLEEP=1
# 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