Commit Graph

8 Commits (baadac8b10c5ac15ce3d26b68fa266c8889b163f)

Author SHA1 Message Date
Anton Vorontsov e91926e9ea apm_power: check I.intval for zero value, we use it as the divisor 17 years ago
Dmitry Baryshkov dffd28a13a apm_power: support using VOLTAGE_* properties for apm calculations 17 years ago
Dave Young 443cad920a power supply : use class iteration api 17 years ago
Anton Vorontsov 2a721dfc8c apm_power: calculate to_full/to_empty time using energy 18 years ago
Anton Vorontsov d385376f0d apm_power: improve battery finding algorithm 18 years ago
Anton Vorontsov cd1ebcc0ef apm_power: fix obviously wrong logic for time reporting 18 years ago
Anton Vorontsov 7b3d54a8c3 Power supply class and drivers: remove non obligatory return statements 18 years ago
Anton Vorontsov 3788ec932b [BATTERY] APM emulation driver for class batteries 18 years ago