depot/third_party/nixpkgs/pkgs/os-specific/linux/upower/i686-test-remove-battery-check.patch
Default email 01ed8ef136 Project import generated by Copybara.
GitOrigin-RevId: 20fc948445a6c22d4e8d5178e9a6bc6e1f5417c8
2022-11-21 19:40:18 +02:00

12 lines
588 B
Diff

diff -u "a/src/linux/integration-test.py" "b/src/linux/integration-test.py"
--- a/src/linux/integration-test.py
+++ b/src/linux/integration-test.py
@@ -870,5 +870,4 @@
self.assertEqual(self.get_dbus_dev_property(bat0_up, 'EnergyFull'), 126.0)
self.assertEqual(self.get_dbus_dev_property(bat0_up, 'EnergyFullDesign'), 132.0)
self.assertEqual(self.get_dbus_dev_property(bat0_up, 'Voltage'), 12.0)
- self.assertEqual(self.get_dbus_dev_property(bat0_up, 'Percentage'), 40.0)
self.stop_daemon()
Diff finished. Tue Nov 8 16:48:57 2022