_BATTERY returns the battery charge status, which can be one or more of the following flags:

 

value

meaning

0

Battery not charging and capacity is between low and high

1

High

2

Low

4

Critical

8

Charging

128

No battery

unknown

Unknown