Garry's Mod Wiki

system.BatteryPower

number system.BatteryPower()

Description

Returns the current battery power.

Returns

1 number
0-100 if a battery (laptop, UPS, etc) is present.

Will instead return 255 if plugged in without a battery.

Page Links


Special Pages


Wikis

?

Render Time: 22ms

DB GetPage 4
Generate Html 1
SaveChanges (1) 8
Render Body 0
Render Sidebar 6