x728 icon indicating copy to clipboard operation
x728 copied to clipboard

lack of overcharge protection?

Open markuman opened this issue 8 months ago • 3 comments

After 48h on power, the voltage is now at 4.24V and the capacity is returned at 106%.
It looks like there is no or no sufficient overload protection.

markuman avatar Apr 05 '25 06:04 markuman

https://wiki.geekworm.com/X728-script#How_to_Use_GPIO16_to_control_battery_charging

GPIO=16

# Read the /sys/kernel/debug/gpio file to get the actual GPIO pin
GPIO=$(cat /sys/kernel/debug/gpio | grep "GPIO$GPIO" | awk -F'gpio-' '{print $2}' | awk -F' ' '{print $1}')
echo "$GPIO" > /sys/class/gpio$GPIO/export
echo "out" > /sys/class/gpio/gpio$GPIO/direction

this results in

echo "$GPIO" > /sys/class/gpio$GPIO/export
bash: /sys/class/gpio528/export: Datei oder Verzeichnis nicht gefunden # not found

markuman avatar Apr 05 '25 07:04 markuman

Hi,

Refer to X728-script

This one is abandoned

geekworm-com avatar Apr 07 '25 03:04 geekworm-com

Hi,

Refer to X728-script

there is no charging example: https://github.com/search?q=repo%3Ageekworm-com%2Fx728-script%20charging&type=code

markuman avatar Apr 07 '25 17:04 markuman