Deep Trekker BRIDGE API - v1.0.3
    Preparing search index...

    Type Alias Battery

    🔋 Basic battery information

    type Battery = {
        charging?: boolean;
        diagnostics?: BatteryDiagnostics;
        leak?: boolean;
        percent?: number;
        resetChargeCycles?: boolean;
        voltage?: number;
    }
    Index

    Properties

    charging?: boolean

    Battery charging state

    Represents whether the battery is being charged or not

    diagnostics?: BatteryDiagnostics

    Advanced battery information.

    leak?: boolean

    Represents whether the battery is leaking or not

    percent?: number

    Battery charge percentage

    0

    100

    resetChargeCycles?: boolean

    Used to reset the reported charge cycles.

    {
    "resetChargeCycles": true
    }
    voltage?: number

    Battery voltage