diff --git a/Recovery/board/funkey/rootfs-overlay/usr/local/sbin/low_bat_check b/Recovery/board/funkey/rootfs-overlay/usr/local/sbin/low_bat_check index 142646c..b1a70da 100755 --- a/Recovery/board/funkey/rootfs-overlay/usr/local/sbin/low_bat_check +++ b/Recovery/board/funkey/rootfs-overlay/usr/local/sbin/low_bat_check @@ -17,7 +17,7 @@ USB_PRESENT_FILE=/sys/class/power_supply/axp20x-usb/present #USB_PRESENT_FILE=/sys/class/power_supply/axp20x-ac/present # Cheat for no USB present simulation when debugging BAT_PRESENT_FILE=/sys/class/power_supply/axp20x-battery/present BAT_PERCENT_FILE=/sys/class/power_supply/axp20x-battery/capacity -BAT_PERCENT_RESCALED_FILE=/etc/current_battery_percentage +BAT_PERCENT_RESCALED_FILE=/tmp/current_battery_percentage LOW_BAT_ICON=/sys/class/graphics/fb0/low_battery SCHEDULE_SHUTDOWN_CMD=sched_shutdown SIGNAL_URS1_TO_EMULATORS_CMD=signal_usr1_to_emulators