plus a little test for #132
(I thought i3pystatus was at fault, but no, it's correct)
This commit is contained in:
parent
6cdbcc8ede
commit
2276dd01b4
@ -20,6 +20,7 @@ def test_basic():
|
||||
("test_battery_basic5", "DIS", "11.453", "4h:52m"),
|
||||
("test_battery_basic6", "CHR", "30.764", "0h:20m"),
|
||||
("test_battery_basic7", "DIS", "27.303", "1h:44m"),
|
||||
("test_battery_132", "DIS", "8.370", "1h:17m"),
|
||||
("test_battery_broken1", "FULL", "0.000", "0h:00m"),
|
||||
]
|
||||
for path, status, consumption, remaining in cases:
|
||||
|
17
tests/test_battery_132
Normal file
17
tests/test_battery_132
Normal file
@ -0,0 +1,17 @@
|
||||
POWER_SUPPLY_NAME=BAT1
|
||||
POWER_SUPPLY_STATUS=Discharging
|
||||
POWER_SUPPLY_PRESENT=1
|
||||
POWER_SUPPLY_TECHNOLOGY=Li-ion
|
||||
POWER_SUPPLY_CYCLE_COUNT=0
|
||||
POWER_SUPPLY_VOLTAGE_MIN_DESIGN=10800000
|
||||
POWER_SUPPLY_VOLTAGE_NOW=11250000
|
||||
POWER_SUPPLY_CURRENT_NOW=744000
|
||||
POWER_SUPPLY_CHARGE_FULL_DESIGN=4400000
|
||||
POWER_SUPPLY_CHARGE_FULL=2100000
|
||||
POWER_SUPPLY_CHARGE_NOW=966000
|
||||
POWER_SUPPLY_CAPACITY=46
|
||||
POWER_SUPPLY_CAPACITY_LEVEL=Normal
|
||||
POWER_SUPPLY_MODEL_NAME=
|
||||
POWER_SUPPLY_MANUFACTURER=SAMSUNG Electronics
|
||||
POWER_SUPPLY_SERIAL_NUMBER=
|
||||
|
Loading…
Reference in New Issue
Block a user