After tweaking a little Tiger PowerManagement.bundle by keithpk (see: http://forum.insanel...showtopic=14912 for more information)
here comes the same, but rebuilt for Leopard (10.5.1).
What works:
- Battery meter (percentage / time) while using only primary battery.
- EnergySaver settings (are retained correctly, unlike when using Tiger bundle on Leopard)
(be aware that manipulating these settings does change your system hibernate mode back to standard -
SafeSleep (mode 3) - use sudo pmset -a hibernatemode 0 hibernatefile /dev/null on the console to reset to what seems to work
for laptop sleep for most people out here - check status with pmset -g)
What does not:
- Real power management (CPU speed / display dimming .. etc): Powermanagement.bundle is not responsible
for applying any of these .. it just provides a way of changing settings and provides battery meter icon ...
- Battery indicator when using two batteries and / or hotswapping secondary battery
(what happens is that battery meter will display inconsistent info when using two batteries and changing
power source ...
- hotswapping support for secondary battery is simply not there in the Apple code.
- reading of current power source (in IOKit/ps) always reads the first battery only (which indicates fact of
being AC Power connected when fully charged and not in use ... at least on my laptop .. YMMV)
(not sure this can be fixed until Apple releases laptops with multiple batteries ...)
Installation:
1. Download the PowerManagement-137-1.bundle.tar.gz file (and unarchive it)
2. Go to: /System/Library/SystemConfiguration
3. Backup your old PowerManagement.bundle
4. Copy the new bundle into the /System/Library/SystemConfiguration/ folder
5. Reboot
Downloads:
09.01.2008: Updated (137-1) release (fixes time calculation in battery meter):
PowerManagement_137_1.bundle.tar.gz 60.81KB
22676 downloads
PowerManagement_137Modified_1.source.tar.gz 530.56KB
4430 downloadsProblems:
Battery meter does not show: check your AppleACPIPlatform version: kextstat | grep ACPI
- Battery meter does not show while using AppleACPIPlatform v 1.1.0 (KALYWAY)
( -> to fix KALYWAY AppleACPIPlatform: edit /System/Library/Extensions/AppleACPIPlatform.kext/Contents/Plugins/AppleACPIPowerSource.kext/Contents/Info.plist
file and change:
<key>OSBundleLibraries</key>
<dict>
<key>com.apple.driver.AppleACPIPlatform</key>
<string>1.0.5</string>
to:
<string>1.1.0</string>
(then reboot or
sudo kextload -t /System/Library/Extensions/AppleACPIPlatform.kext/Contents/Plugins/AppleACPIPowerSource.kext ..)
- Battery meter shows OK with AppleACPIPlatform v 1.0.5 (iATKOS?)
- I do not think it will work with vanilla AppleACPIPlatform ... (vanilla does not have ACPIPowerSource PlugIn ..)
Sleep does not work anymore: (BUT WAS working before installing this bundle):
- Open Energy Saver Pref pane, make your changes
- from Terminal run sudo pmset -a hibernatemode 0 hibernatefile /dev/null
- You will notice that Battery/AC Power options in the pane moved to "Custom": LEAVE these like this:
changing to Normal / Better Performance / Better Battery Life will reset your system sleep mode again.
(Alternatively: just remember to go to Custom mode before putting system to sleep)
Old download (do not use ..) 07.01.2008: Initital (137) release (does not calculate battery/charge time):
PowerManagement_137.bundle.tar.gz 60.35KB
1891 downloads
PowerManagement_137Modified.source.tar.gz 528.24KB
743 downloadsEnjoy !
J



Sign In
Create Account







