[Pm-utils] [PATCH 4/8] pm-utils 1.2.3 proposed patches
Victor Lowther
victor.lowther at gmail.com
Sat Nov 29 08:51:26 PST 2008
Delete 55battery.
HAL has handled this since mid 2006.
---
pm/sleep.d/55battery | 20 --------------------
1 files changed, 0 insertions(+), 20 deletions(-)
diff --git a/pm/sleep.d/55battery b/pm/sleep.d/55battery
deleted file mode 100755
index 1944e98..0000000
--- a/pm/sleep.d/55battery
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-# Have HAL rescan batteries on resume.
-# TODO: Merge this code back into HAL, it should not be in pm-utils.
-
-. "${PM_FUNCTIONS}"
-
-resume_batteries()
-{
- for x in $(hal-find-by-capability --capability battery 2>/dev/null); do
- dbus-send --system --reply-timeout=2000 \
- --dest=org.freedesktop.Hal "$x" \
- org.freedesktop.Hal.Device.Rescan "string:$x"
- done
-}
-
-case "$1" in
- resume|thaw)
- resume_batteries
- ;;
-esac
--
1.6.0.4
More information about the Pm-utils
mailing list