Garry's Mod Wiki

Revision Difference

system.BatteryPower#519149

<function name="BatteryPower" parent="system" type="libraryfunc"> <description>Returns the current battery power.</description> <realm>Shared and Menu</realm> <rets> <ret name="" type="number">0-100 if on battery power.&lt;br&gt;&lt;br&gt; If plugged in, the value will be 255 regardless of charging state.</ret> <ret name="" type="number">0-100 if on battery power. ⤶ If plugged in, the value will be 255 regardless of charging state.</ret> </rets> </function>