Garry's Mod Wiki

system.BatteryPower

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.

Special Pages


Wikis

?

Render Time: 56ms

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