W katalogu /sys/devices/virtual/power/zte_power jest definicja działania baterii
/sys/devices/virtual/power/zte_power # ls
adc1 capacity gpio_match pm subsystem vbus
adc2 charger gpio_power power thermal_user version
battery dev otg_vbus ready type
boot event pcusb status uevent
/sys/devices/virtual/power/zte_power/battery # ls
capacity power thermal_user
capacity_level scene_record time_to_empty_now
charge_term_current status time_to_full_now
current_avg subsystem type
current_max temp uevent
customer_mode temp_alert_max voltage_avg
debug temp_alert_min voltage_max
device temp_cool voltage_max_design
health temp_hot voltage_min
lcm_record temp_warm voltage_min_design
online thermal_protection voltage_now
Zgadza się z moimi testami , że przy 3,3 V router się wyłącza.
/sys/devices/virtual/power/zte_power/battery # cat voltage_min
3300
"3,3V router gaśnie"
nie mogę jednak znaleźć w jaki sposób zrobić restart ustawień baterii .
Edit:
Czy bateria może być sterowana przez gpio
/sys/devices/virtual/power/zte_power # ls
adc1 capacity gpio_match pm subsystem vbus
adc2 charger gpio_power power thermal_user version
battery dev otg_vbus ready type
boot event pcusb status uevent
/sys/devices/virtual/power/zte_power # cat gpio_match
0
/sys/devices/virtual/power/zte_power # cat gpio_power
GPIO[id-0] gpio = 63, val = 1
GPIO[id-2] gpio = 65, val = 1
GPIO[id-5] gpio = 49, val = 1
ATTR[id-35] = 0
ATTR[id-36] = 1
ATTR[id-41] = 1
ATTR[id-42] = 1
ZTE MF 286D OpenWrt 23.05-SNAPSHOT r23484-b742216dc8
Zyxel EX5601-T0 ubootmod OpenWrt 24.10-SNAPSHOT, r28432-7609571dcd
TP-LINK Archer C7 v5 - 1.14.0.2 (Built 20231226-1035 git@8e210b77)