Documentation
    Preparing search index...

    The different possible battery charging states.

    Index

    Enumeration Members

    Enumeration Members

    badCharging: number

    Coil voltage is bad, die is probably positioned incorrectly. Note that currently this state is triggered during transition between charging and not charging...

    charging: number

    Battery is currently recharging.

    done: number

    Battery is full and finished charging.

    error: number

    Charge state doesn't make sense (charging but no coil voltage detected for instance).

    low: number

    Battery level is low, notify user they should recharge.

    ok: number

    Battery looks fine, nothing is happening.