
2023/06/13 00:38 7/10 Introduction
ODROID Wiki - https://wiki.odroid.com/
...
Jul 25 04:53:01 odroid64 CRON[1824]: (root) CMD (/home/odroid/ups3.sh)
Jul 25 04:53:01 odroid64 CRON[1823]: (CRON) info (No MTA installed,
discarding output)
...
Jul 25 04:55:01 odroid64 CRON[1960]: (root) CMD (/home/odroid/ups3.sh)
Jul 25 04:55:01 odroid64 CRON[1959]: (CRON) info (No MTA installed,
discarding output)
...
Depending on the particular Battery State of Charge (SOC), this script
can issue a reboot a few times based on the specific load.
This means that the battery voltage can go over the threshold level
very quickly when the load is off.
However, it will turn off the board after cycling the power a few times.
How to configure SW (2) - Android
Android packages that are released since the following version already include
UPS3-related implementations.
Please check your Android version first.
ODROID-C2 - Android 5.1.1 V3.5
ODROID-C1+ - Android 4.4.4 V3.7
If you have an older version, follow the whole process of this manual.
If not so, you only need to block “disable” part of ups3 service in
/init.odroid2.board.rc or /init.odroid.board.rc.
Because of LiPo chemical characteristics, Battery Level can
go little high when the load is quit light.
So, you should add a delay after low battery alarm.
On Android, you need to register the monitoring script, ups3.sh in android init rc.
Auto shutdown Script
Here is an example script for Android and the default path is /system/bin/ups3.sh.