number devices.system.totalCurrent
Returns the current (in milliamperes) on the socket. The property is read only!
number devices.system.totalCurrent
Value
number total current on socket (in milliamperes)
Usage
-- log current of the socket
logf("total current: %d", devices.system.totalCurrent)