Charger
High-level API
Device name:
chargerProvided by the charger block.
Methods
isCharging():booleanChecks whether the charger is currently transferring energy to something on top of it.
- Returns
true if energy is being transferred; false otherwise.