gb.battery.level
From Gamebuino Wiki
Description
Gives the current level of the battery using the thresholds set using SETTINGS.HEX.
Syntax
gb.battery.level;
Parameters
none
Returns
byte: the current level of the battery