Lines Matching refs:battery
573 VII. Goldfish battery:
577 $QEMU/hw/android/goldfish/battery.c
586 0x00 INT_STATUS R: Read battery and A/C status change bits.
589 0x0c STATUS R: Read battery status (charging/full/... see below).
590 0x10 HEALTH R: Read battery health (good/overheat/... see below).
591 0x14 PRESENT R: Read 1 if battery is present, 0 otherwise.
592 0x18 CAPACITY R: Read battery charge percentage in [0..100] range.
594 A simple device used to report the state of the virtual device's battery, and
597 The device uses a single IRQ to notify the kernel that the battery or A/C status
601 bit 0: Set to 1 to indicate a change in battery status.
609 The battery status is spread over multiple I/O registers:
611 IO_READ(PRESENT) returns 1 if the battery is present in the virtual device,
614 IO_READ(CAPACITY) returns the battery's charge percentage, as an integer
616 it does not represent the battery's capacity, but it's current charge level.