Restore 72h DSDS + Wi-Fi standby battery optimizations across all targets
- Fix Combined EPS/IMSI (cs_attach=1) false 4G-only IMS activation in ims_qrtr.h, close idle QRTR sockets, bound child/baseband retries, and deduplicate state.env writes in bananarchy-imsd.c - Skip inactive DHCP/connectivity IMS notifications in 40-bananarchy-ims.sh and add capped exponential registration backoff (5s-300s) plus openCtlSocket() rebind guard in bananarchy-vowifi - Sync CPU scaling_governor and idempotent screenoff/screenon policy across bananarchy-display-power-sync, locker.so, and bananarchy-power-policy.sh (standby.mode + rat_timer.pid), and gate noisy change events when dark in 30-bananarchy-network-status.sh - Fix bananarchy-dsds --sig-hysteresis QMI NAS wire opcodes to 0x0045 (1-byte sub bind) and 0x0050 (RSSI/RSCP/RSRP/LTE report threshold config) - Remove static 200 mA regulator-system-load on PM8909 l11 across all 6 DTS files and recompile all 5 shipping DTBs - Extend test-imsd-volte.py, test-standby-power-policy.py, check-rebuild.sh, BATTERY-OPTIMIZATION-ANALYSIS.md (Section 24), AGENTS.md, and Unreleased CHANGELOG.md notes + rebuilt image SHA-256 checksums (--mkinitfs)
This commit is contained in:
1 parent
c40ec932de
commit
c9eb28b891
42 files changed
+751
-91
No files matched your search
@@ -2,6 +2,17 @@
|
||||
# Notify bananarchy-imsd on interface up/down/connectivity changes without blocking NM.
|
||||
IFACE="${1:-any}"
|
||||
EVENT="${2:-change}"
|
||||
IMS_STATE="${BANANARCHY_IMS_STATE_PATH:-/run/bananarchy/ims/state.env}"
|
||||
|
||||
case "$EVENT" in
|
||||
dhcp4-change|dhcp6-change|connectivity-change)
|
||||
if [ -r "$IMS_STATE" ] && \
|
||||
grep -q '^VOLTE_ACTIVE=0$' "$IMS_STATE" 2>/dev/null && \
|
||||
grep -q '^VOWIFI_ACTIVE=0$' "$IMS_STATE" 2>/dev/null; then
|
||||
exit 0
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
case "$EVENT" in
|
||||
up|down|connectivity-change|dhcp4-change|dhcp6-change)
|
||||
|
||||
Reference in new issue
Block a user