Slice Posted June 14, 2008 Share Posted June 14, 2008 Many users install PowerManagement.bundle and is happy. But not all! As mine. I found some new condition. Edit IOSMBusFamily.kext/info,plist to have <key>IOKitPersonalities</key> <dict> <key>IOSMBusController</key> <dict> <key>CFBundleIdentifier</key> <string>com.apple.iokit.IOSMBusFamily</string> <key>IOClass</key> <string>IOSMBusController</string> <key>IOPCIClassMatch</key> <string>0x0c050000&0xffff0000</string> <key>IOProviderClass</key> <string>IOPCIDevice</string> </dict> </dict> It works! | | | | "compatible" = | | | | "name" = "pci1002,4353" | | | | } | | | | | | | +-o IOSMBusController | | | { | | | "IOMatchCategory" = "IODefaultMatchCategory" | | | "IOClass" = "IOSMBusController" | | | "IOProviderClass" = "IOPCIDevice" | | | "CFBundleIdentifier" = "com.apple.iokit.IOSMBusFamily" | | | "IOPCIClassMatch" = "0x0c050000&0xffff0000" | | | "IOProbeScore" = 0x0 | | | } Then I need to delete AppleACPIEC.kext from AppleACPIPlatform.kext/Contents/PlugIns/ Why? Don't know exactly but the kext prevents SMBus to work. Before I have | | +-o AppleACPIBattery | | | { | | | "Battery Present" = No | | +-o AppleACPIBatteryHub | | { | | "IOMatchCategory" = "IODefaultMatchCategory" | | "IOBatteryInfo" = ({"Capacity"=0x0,"Amperage"=0x0,"Current"=0x0,"Voltage"=0x0,"Flags"=0x0}) Now I have | | +-o AppleACPIBattery | | | { | | | "Battery Present" = Yes | | | "Battery Status" = (0x0,0x0,0xc80,0x30cf) | | | "Battery Information" = (0x1,0x1130,0xc80,0x1,0x2b5c,0x0,0x60,0x1,0x1,"","","LION","SAMSUNG Electronics") | | +-o AppleACPIBatteryHub | | { | | "IOMatchCategory" = "IODefaultMatchCategory" | | "IOBatteryInfo" = ({"Capacity"=0xc80,"Amperage"=0x0,"Current"=0xc80,"Voltage"=0x30cf,"Flags"=0x5}) Now powermanagement.bundle from keithpk really works for me and show battery status. Link to comment Share on other sites More sharing options...
Behemoth Kat Posted June 15, 2008 Share Posted June 15, 2008 thank you man, i'll try tomorrow and report. Link to comment Share on other sites More sharing options...
vnnet Posted June 15, 2008 Share Posted June 15, 2008 it can show percent but can't show time. How can it show time? Link to comment Share on other sites More sharing options...
Slice Posted June 16, 2008 Author Share Posted June 16, 2008 it can show percent but can't show time. How can it show time? Time is shown without problems! Link to comment Share on other sites More sharing options...
petezah Posted June 20, 2008 Share Posted June 20, 2008 i don't get it. this is the original info.plist. what do i have to delete? and add your code? <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>CFBundleDevelopmentRegion</key> <string>English</string> <key>CFBundleExecutable</key> <string>IOSMBusFamily</string> <key>CFBundleIdentifier</key> <string>com.apple.iokit.IOSMBusFamily</string> <key>CFBundleInfoDictionaryVersion</key> <string>6.0</string> <key>CFBundleName</key> <string>IOSMBusFamily</string> <key>CFBundlePackageType</key> <string>KEXT</string> <key>CFBundleShortVersionString</key> <string>1.1</string> <key>CFBundleSignature</key> <string>????</string> <key>CFBundleVersion</key> <string>1.1</string> <key>IOKitPersonalities</key> <dict/> <key>OSBundleCompatibleVersion</key> <string>1.0.0</string> <key>OSBundleLibraries</key> <dict> <key>com.apple.kpi.iokit</key> <string>8.0.0</string> <key>com.apple.kpi.libkern</key> <string>8.0.0</string> <key>com.apple.kpi.mach</key> <string>8.0.0</string> </dict> <key>OSBundleRequired</key> <string>Root</string> </dict> </plist>/ Link to comment Share on other sites More sharing options...
inku Posted July 8, 2008 Share Posted July 8, 2008 is not working right on my tiger im getting Current battery charge: 42949672% and the battery indicator keeps saying power source:power adapter no matter it is running on battery and always stays at 100% charge complete. Link to comment Share on other sites More sharing options...
extremeae Posted July 10, 2008 Share Posted July 10, 2008 Hey all, I stumbled across this thread: http://forum.insanelymac.com/index.php?sho...114105&st=0 I managed to get it working but I missed something so I had to redo my system. I'm going to play with it some more. Link to comment Share on other sites More sharing options...
nickhe Posted July 11, 2008 Share Posted July 11, 2008 can you upload your IOSMBusFamily.kext/info,plist here ? Link to comment Share on other sites More sharing options...
nickhe Posted September 9, 2008 Share Posted September 9, 2008 i couldn't make work here's my ioreg ioreg.rtf Link to comment Share on other sites More sharing options...
Slice Posted September 10, 2008 Author Share Posted September 10, 2008 i couldn't make work here's my ioreg ioreg.rtf I have not find SMBus in your config ( "class-code" = )! Try other solutions. Link to comment Share on other sites More sharing options...
nickhe Posted September 11, 2008 Share Posted September 11, 2008 i've tried all of them acording to Chen nan it thinks i got 2 battery when i only have one Link to comment Share on other sites More sharing options...
jbourassa Posted October 3, 2008 Share Posted October 3, 2008 Hey slice, Where do you get those reports where you start with | | | Also, in the plist, do you actually replace the xml tags with yours or just replace the "IOKitPersonalities" portion of it? thanks Link to comment Share on other sites More sharing options...
Slice Posted October 5, 2008 Author Share Posted October 5, 2008 Hey slice, Where do you get those reports where you start with | | | Also, in the plist, do you actually replace the xml tags with yours or just replace the "IOKitPersonalities" portion of it? thanks reports made by ioreg -l -x -w 2048 >ioreg.txt Yes, I replace only "IOKitPersonalities" Link to comment Share on other sites More sharing options...
AlterDiaz Posted June 11, 2009 Share Posted June 11, 2009 can i use this for my aspireOne? my aspireOne show battery indicator before,,, don't know why, that indicator isn't my menu bar... Link to comment Share on other sites More sharing options...
.klimaxx Posted August 18, 2009 Share Posted August 18, 2009 this completely messed up my system! please, how do i get it back without having to reinstall osx? i have important files that i can't afford to lose. god bless. Link to comment Share on other sites More sharing options...
havok310 Posted August 24, 2009 Share Posted August 24, 2009 inku, i have the same problem as you. my battery displays ridiculous percentages (like -400500%). Please reply if u find a fix for it or email me havok310@gmail.com Link to comment Share on other sites More sharing options...
inku Posted August 25, 2009 Share Posted August 25, 2009 inku, i have the same problem as you. my battery displays ridiculous percentages (like -400500%). Please reply if u find a fix for it or email me havok310@gmail.com as you can see this post is really old and by then i was on a different machine and running tiger.You should try voodoobattery or any other power management fix it might help. Link to comment Share on other sites More sharing options...
AntonDarmawan Posted January 5, 2010 Share Posted January 5, 2010 Is this work for Snow Leo? Link to comment Share on other sites More sharing options...
jfmock350 Posted June 11, 2010 Share Posted June 11, 2010 I have an Asus G60Vx laptop. used Empire EFI 1.08 to install 10.6 and updated to 10.6.3 and using chameleon 2 RC4. I have everything working now except the power management and battery monitoring. I'm still very new to this and would love a deeper explanation of your steps here or maybe a nudge in a different direction. This install I have working now would not have come to pass without the help of all the posts on this forum. Thanks. Link to comment Share on other sites More sharing options...
Aardappel Posted July 11, 2010 Share Posted July 11, 2010 Can you attach it here please? Link to comment Share on other sites More sharing options...
capo_saric Posted July 15, 2010 Share Posted July 15, 2010 as others said before... a nice step-by-step explanation on how to accomplish this would be really appreciated... many of us don't have experience on editing plist files... please? my battery icon shows charge and time, my problem is that instead of going 1 by 1%, it drops from 70 to 54% for example... it lasts what it should last, but I would like to know what percentage is left at any moment, and not when the icon decides to change =/ would this solution work for me? thanks! Link to comment Share on other sites More sharing options...
Recommended Posts