GL-XE3000 How to read battery / charge status?

I'm running several GL-XE3000 routers and I would like to be able to read if the battery is charging or not, as I want to create a script that sends an email if the power adapter is disconnected, so I can be aware if there has been a power outage or if someone disconnected the router from power.

How can I read the charge status using a cmdline? I've searched the forum but I haven't found any specific information for this router.

Thank you.

ubus call mcu status
1 Like

Thank you, it worked flawlessly.