XE300 - How to read battery status?


I’m trying to create a script to check battery status in xe300. The best I could find an update on this topic GL-MiFi [GPIO] - How to read battery status? - #8 by Johnex but I’m not sure it’s up to date as I can’t reproduce what is suggested in the last reply.

What can I check battery status besides routers’ portal ? I’m using 3.215 firmware version.

Thank you