Get Battery Level from the API?


I’ve been looking at the API and I can’t seem to find a function that would allow me to retrieve the battery level for my GL-XE300 device.

Is that API function missing, or am I just overlooking it? Is there another way to retrieve it?

The API documentation for 3.x is not very well maintained and some APIs may be missing.
the interface to get the battery level has changed from version to version. It is recommended that you open the Developer Tools on your browser directly by pressing Ctrl + Shift + I and then open the XE300 GUI to find the API.