UNPKG

perfetto-protos

Version:

Perfetto protos exposed via protobuf-es for browser and node

64 lines 2.15 kB
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file protos/perfetto/trace/power/battery_counters.proto. */ export declare const file_protos_perfetto_trace_power_battery_counters: GenFile; /** * @generated from message perfetto.protos.BatteryCounters */ export type BatteryCounters = Message<"perfetto.protos.BatteryCounters"> & { /** * Battery capacity in microampere-hours(µAh). Also known as Coulomb counter. * * @generated from field: optional int64 charge_counter_uah = 1; */ chargeCounterUah: bigint; /** * Remaining battery capacity percentage of total capacity * * @generated from field: optional float capacity_percent = 2; */ capacityPercent: number; /** * Instantaneous battery current in microamperes(µA). * Negative values indicate current being drained from the battery and * positive values indicate current feeding the battery from a charge source * (USB). * * See https://perfetto.dev/docs/data-sources/battery-counters for more info. * * @generated from field: optional int64 current_ua = 3; */ currentUa: bigint; /** * Instantaneous battery current in microamperes(µA). * * @generated from field: optional int64 current_avg_ua = 4; */ currentAvgUa: bigint; /** * Battery name, emitted only on multiple batteries. * * @generated from field: optional string name = 5; */ name: string; /** * Battery capacity in microwatt-hours(µWh). * * @generated from field: optional int64 energy_counter_uwh = 6; */ energyCounterUwh: bigint; /** * Battery voltage in microvolts(µV). * * @generated from field: optional int64 voltage_uv = 7; */ voltageUv: bigint; }; /** * Describes the message perfetto.protos.BatteryCounters. * Use `create(BatteryCountersSchema)` to create a new message. */ export declare const BatteryCountersSchema: GenMessage<BatteryCounters>; //# sourceMappingURL=battery_counters_pb.d.ts.map