Battery

Battery describes a battery device. A Battery instance contains the following attributes:

Table A.6. Battery's attributes:

NameDescription
valAvailable power of battery.
init()

The UObject constructor

Example

battery = new Battery();