frauhottelmann Posted July 13, 2008 Share Posted July 13, 2008 Strange, there are only two lines about the BatteryManager in the ioreg. I am attaching the whole log. | | +-o AppleACPIBatteryManager <class AppleACPIBatteryManager, registered, matched, active, busy 0, retain 6> | | +-o AppleACPIBattery <class AppleACPIBattery, registered, matched, active, busy 0, retain 5> Link to comment https://www.insanelymac.com/forum/topic/114105-appleacpibatterymanager-for-tiger-and-leopard/page/3/#findComment-817664 Share on other sites More sharing options...
eraserhead77 Posted July 13, 2008 Share Posted July 13, 2008 Chun-Nan, latest build is working perfectly. Fixed the % error for me. Thank you! Link to comment https://www.insanelymac.com/forum/topic/114105-appleacpibatterymanager-for-tiger-and-leopard/page/3/#findComment-817693 Share on other sites More sharing options...
frauhottelmann Posted July 13, 2008 Share Posted July 13, 2008 Still nothing with latest build. But the battery icon shows the correct percentage! Link to comment https://www.insanelymac.com/forum/topic/114105-appleacpibatterymanager-for-tiger-and-leopard/page/3/#findComment-817860 Share on other sites More sharing options...
dong Posted July 13, 2008 Share Posted July 13, 2008 Strange, there are only two lines about the BatteryManager in the ioreg.Take information from here: About this Mac->More Info->Software->logs->ioreg-sp.txt Link to comment https://www.insanelymac.com/forum/topic/114105-appleacpibatterymanager-for-tiger-and-leopard/page/3/#findComment-817885 Share on other sites More sharing options...
frauhottelmann Posted July 13, 2008 Share Posted July 13, 2008 Oh OK, thanks! I'll do that! I used the ioreg command! lol Link to comment https://www.insanelymac.com/forum/topic/114105-appleacpibatterymanager-for-tiger-and-leopard/page/3/#findComment-817900 Share on other sites More sharing options...
romanskij Posted July 13, 2008 Share Posted July 13, 2008 Hello! The beta 5 release works perfect for me! (on Compal IFL90) With beta 4 i had a shut down problem if the Powersuply was not pluged in! I´m so happy that this work! A big thx on the Creator!!!! Link to comment https://www.insanelymac.com/forum/topic/114105-appleacpibatterymanager-for-tiger-and-leopard/page/3/#findComment-818078 Share on other sites More sharing options...
Wiwi Posted July 13, 2008 Share Posted July 13, 2008 Chun-Nan, latest build is working perfectly. Fixed the % error for me. Thank you! +1 Thanks man ! Link to comment https://www.insanelymac.com/forum/topic/114105-appleacpibatterymanager-for-tiger-and-leopard/page/3/#findComment-818178 Share on other sites More sharing options...
mrbonkers Posted July 13, 2008 Share Posted July 13, 2008 b5 fixed the percentage for me but it still show power source as battery even though the power adapter is plugged in Link to comment https://www.insanelymac.com/forum/topic/114105-appleacpibatterymanager-for-tiger-and-leopard/page/3/#findComment-818323 Share on other sites More sharing options...
quinielascom Posted July 14, 2008 Share Posted July 14, 2008 Thanks Chun-Nan, now Battery Icon is working fine (i have 10.5.2 install) with you kext. For me was necessary copy the PowerManagement.bundle original from 10.5.3 otherwise; kernel panic at turn off, (same failure with powermangement.bundle original from 10.5.2). My system profile shows: Información de la batería: Información sobre el modelo: Número de serie: SANYO-Chapala-0-0 Fabricante: SANYO Nombre del dispositivo: Chapala Pack Lot Code: 0000 PCB Lot Code: 0000 Versión del firmware: 0000 Revisión de hardware: 0000 Revisión de celda: 0000 Información sobre la carga: Carga restante (mAh): 3260 Totalmente cargada: No Cargando: Sí Capacidad de plena carga (mAh): 3696 Información sobre el estado: Número de ciclos: 1 Estado de la batería: Buena Batería instalada: Sí Amperaje (mA): 63768 Voltaje (mV): 12488 Regards. Link to comment https://www.insanelymac.com/forum/topic/114105-appleacpibatterymanager-for-tiger-and-leopard/page/3/#findComment-818429 Share on other sites More sharing options...
~Eureka Posted July 14, 2008 Author Share Posted July 14, 2008 Hi SD Geek, dong, outZider, and xfidelity, I have updated b6 version. It will use "_UID" to determine the locaiton. However, I only have one battery bay on my notebook. You can give it a try to see if it shows correct information. Let me know the result. Thanks. Also, Serial Number section will show type and serial number instead of 0 if it reads any data. Chun-Nan Link to comment https://www.insanelymac.com/forum/topic/114105-appleacpibatterymanager-for-tiger-and-leopard/page/3/#findComment-818582 Share on other sites More sharing options...
morphin999 Posted July 14, 2008 Share Posted July 14, 2008 Hi, I am a newbie. How to use this pkg? replace the kext file? I tried it on my Acer 5570z-2297 running 10.4.8 and got a kernel panic. Did I do anything wrong? I did repair the permissions. Link to comment https://www.insanelymac.com/forum/topic/114105-appleacpibatterymanager-for-tiger-and-leopard/page/3/#findComment-818595 Share on other sites More sharing options...
~Eureka Posted July 14, 2008 Author Share Posted July 14, 2008 Hi, I am a newbie. How to use this pkg? replace the kext file? I tried it on my Acer 5570z-2297 running 10.4.8 and got a kernel panic. Did I do anything wrong? I did repair the permissions. Hi morphin999, If you have ApplePowerSource installed on your Tiger, you may need to remove it. Also, you can use some tools such as kexthelper or others to install files. I don't know if it will work on 10.4.8 Tiger since I used 10.4.11 to compile the source code. If possible, maybe you can post the kernel panic photo here. Thanks. Chun-Nan Link to comment https://www.insanelymac.com/forum/topic/114105-appleacpibatterymanager-for-tiger-and-leopard/page/3/#findComment-818598 Share on other sites More sharing options...
eraserhead77 Posted July 14, 2008 Share Posted July 14, 2008 Great work again Chun-Nan, this is working fine and pulling the Serial Number info instead of the 0 it was before. Battery Information: Model Information: Serial Number: Sony Corp.--LION- Manufacturer: Sony Corp. Device name: Pack Lot Code: 0000 PCB Lot Code: 0000 Firmware Version: 0000 Hardware Revision: 0000 Cell Revision: 0000 Charge Information: Charge remaining (mAh): 2436 Fully charged: No Charging: No Full charge capacity (mAh): 6264 Health Information: Cycle count: 1 Condition: Good Battery Installed: Yes Amperage (mA): -1502 Voltage (mV): 10668 Link to comment https://www.insanelymac.com/forum/topic/114105-appleacpibatterymanager-for-tiger-and-leopard/page/3/#findComment-818600 Share on other sites More sharing options...
morphin999 Posted July 14, 2008 Share Posted July 14, 2008 Thanks for the quick response. How do i open the kext folder? I will try to remove the ApplePowerSource. Thanks. Hi morphin999, If you have ApplePowerSource installed on your Tiger, you may need to remove it. Also, you can use some tools such as kexthelper or others to install files. I don't know if it will work on 10.4.8 Tiger since I used 10.4.11 to compile the source code. If possible, maybe you can post the kernel panic photo here. Thanks. Chun-Nan Link to comment https://www.insanelymac.com/forum/topic/114105-appleacpibatterymanager-for-tiger-and-leopard/page/3/#findComment-818601 Share on other sites More sharing options...
quinielascom Posted July 14, 2008 Share Posted July 14, 2008 Thanks Chun-Nan, now Battery Icon is working fine (i have 10.5.2 install) with you kext. For me was necessary copy the PowerManagement.bundle original from 10.5.3 otherwise; kernel panic at turn off, (same failure with powermangement.bundle original from 10.5.2). Still some random kernel panic at turn off. While, i have enabled hardware monitor without icon but works (text and % only). Hardware monitor in action: Regards. Link to comment https://www.insanelymac.com/forum/topic/114105-appleacpibatterymanager-for-tiger-and-leopard/page/3/#findComment-818647 Share on other sites More sharing options...
romanskij Posted July 14, 2008 Share Posted July 14, 2008 Hello. I was too early been pleased! Have still a shutdown problem! If the Powersuply don´t pluged in when I boot than the notebook hang at shutdown. My Notebook is a Compal IFL90 This is my Battery information: Informationen zum Batteriemodell: Seriennummer: Sanyo -PA3465U -Li-Ion-3658Q Hersteller: Sanyo Gerätename: PA3465U Pack Lot Code: 0000 PCB Lot Code: 0000 Firmware-Version: 0000 Hardware-Version: 0000 Batterieversion überprüfen: 0000 Informationen zum Ladezustand: Verbleibende Ladung (in mAh): 2952 Vollständig geladen: Nein Batterie wird geladen: Nein Volle Ladekapazität (in mAh): 7200 Informationen zum Batteriezustand: Anzahl der Zyklen: 1 Bedingung: Gut Batterie ist installiert: Ja Stromverbrauch (in mA): -2400 Spannung (in mV): 11100 Link to comment https://www.insanelymac.com/forum/topic/114105-appleacpibatterymanager-for-tiger-and-leopard/page/3/#findComment-818671 Share on other sites More sharing options...
frauhottelmann Posted July 14, 2008 Share Posted July 14, 2008 OK, now I finally have the correct part of iolog. I am attaching it! Untitled2.rtf Link to comment https://www.insanelymac.com/forum/topic/114105-appleacpibatterymanager-for-tiger-and-leopard/page/3/#findComment-818675 Share on other sites More sharing options...
bozon42 Posted July 14, 2008 Share Posted July 14, 2008 Hello Chun-Nan, I can confirm that b5 version of your solution worked with original PowerManegement.bundle on Acer5220 (Kalyway 10.5.1+Kalyway update 10.5.2+Kalyway Combo Update 10.5.3+Mac Update 10.5.4). Thanks and congratulation for great work! Good Macing!!:-) bozon42 Link to comment https://www.insanelymac.com/forum/topic/114105-appleacpibatterymanager-for-tiger-and-leopard/page/3/#findComment-818685 Share on other sites More sharing options...
mrbonkers Posted July 14, 2008 Share Posted July 14, 2008 b6 still is the same. tell me what you need and i'll post them here. Link to comment https://www.insanelymac.com/forum/topic/114105-appleacpibatterymanager-for-tiger-and-leopard/page/3/#findComment-818774 Share on other sites More sharing options...
Wiwi Posted July 14, 2008 Share Posted July 14, 2008 Beta6 gives me hang on shutdown, restore b5 and works normal... Link to comment https://www.insanelymac.com/forum/topic/114105-appleacpibatterymanager-for-tiger-and-leopard/page/3/#findComment-819429 Share on other sites More sharing options...
dong Posted July 15, 2008 Share Posted July 15, 2008 Sorry that last time I'm not using vanilla Powermanagement.bundle. You actually did a wonderful job. With vanilla 10.5.3 Powermanagement.bundle, b6 works great. However, there are still problem in reading correct BatterySerialNumber. Also, the time displayed is decreasing instead of increasing during charge. | +-o BAT0 <class IOACPIPlatformDevice, registered, matched, active, busy 0, retain 7> | | | { | | | "_UID" = "0" | | | "name" = <504e503043304100> | | | "_STA" = 0x1f | | | } | | | | | +-o AppleACPIBatteryManager <class AppleACPIBatteryManager, registered, matched, active, busy 0, retain 6> | | | { | | | "IOProviderClass" = "IOACPIPlatformDevice" | | | "IOProbeScore" = 0x0 | | | "CFBundleIdentifier" = "com.apple.driver.AppleACPIBatteryManager" | | | "IOMatchCategory" = "IODefaultMatchCategory" | | | "Battery Information" = (0x0,0x14910,0x142e4,0x1,0x2a30,0x1025,0xc8,0x1,0x1,<39325031313333000000000000000000>,<202039323600>,<4c494f4e00>,<50616e61736f6e696300303600000000>) | | | "IONameMatched" = "PNP0C0A" | | | "IOClass" = "AppleACPIBatteryManager" | | | "IONameMatch" = "PNP0C0A" | | | "IOPowerManagement" = {"CurrentPowerState"=0x1} | | | "Battery Status" = (0x2,0x9f09,0x3dd6,0x2df0) | | | } | | | | | +-o AppleACPIBattery <class AppleACPIBattery, registered, matched, active, busy 0, retain 5> | | { | | "ManufacturerData" = <> | | "ExternalConnected" = Yes | | "CurrentCapacity" = 0x62f | | "FullyCharged" = No | | "ManufactureDate" = 0x0 | | "Amperage" = 0xfcd | | "LegacyBatteryInfo" = {"Capacity"=0x204a,"Voltage"=0x2df0,"Flags"=0x7,"Current"=0x62f,"Amperage"=0xfcd,"Cycle Count"=0x1} | | "BatteryInstalled" = Yes | | "AvgTimeToFull" = 0x63 | | "BatteryInvalidWakeSeconds" = 0x1e | | "ExternalChargeCapable" = Yes | | "AvgTimeToEmpty" = 0xffff | | "DesignCapacity" = 0x20e8 | | "PostDischargeWaitSeconds" = 0x78 | | "CellVoltage" = () | | "Temperature" = 0x0 | | "SerialNumber" = 0x0 | | "BatterySerialNumber" = "XXXX-YYYY-ZZZZ-0000" | | "InstantAmperage" = 0xfe7 | | "CycleCount" = 0x1 | | "Voltage" = 0x2df0 | | "IsCharging" = Yes | | "InstantTimeToEmpty" = 0xffff | | "Quick Poll" = No | | "TimeRemaining" = 0x63 | | "PostChargeWaitSeconds" = 0x78 | | "MaxErr" = 0x1 | | "MaxCapacity" = 0x204a | | "AdapterInfo" = 0x0 | | "Location" = 0x0 | | "IOGeneralInterest" = "IOCommand is not serializable" | | } | | | +-o BAT1 <class IOACPIPlatformDevice, registered, matched, active, busy 0, retain 7> | | | { | | | "_UID" = "1" | | | "name" = <504e503043304100> | | | "_STA" = 0xf | | | } | | | | | +-o AppleACPIBatteryManager <class AppleACPIBatteryManager, registered, matched, active, busy 0, retain 6> | | | { | | | "IOProviderClass" = "IOACPIPlatformDevice" | | | "IOProbeScore" = 0x0 | | | "CFBundleIdentifier" = "com.apple.driver.AppleACPIBatteryManager" | | | "IOMatchCategory" = "IODefaultMatchCategory" | | | "IONameMatched" = "PNP0C0A" | | | "IOClass" = "AppleACPIBatteryManager" | | | "IONameMatch" = "PNP0C0A" | | | "IOPowerManagement" = {"CurrentPowerState"=0x1} | | | } | | | | | +-o AppleACPIBattery <class AppleACPIBattery, registered, matched, active, busy 0, retain 5> | | { | | "PostDischargeWaitSeconds" = 0x78 | | "CurrentCapacity" = 0x0 | | "FullyCharged" = No | | "CycleCount" = 0x0 | | "Voltage" = 0x0 | | "IsCharging" = No | | "Amperage" = 0x0 | | "TimeRemaining" = 0x0 | | "PostChargeWaitSeconds" = 0x78 | | "BatteryInstalled" = No | | "MaxCapacity" = 0x0 | | "BatteryInvalidWakeSeconds" = 0x1e | | "AdapterInfo" = 0x0 | | "Location" = 0x0 | | "LegacyBatteryInfo" = {"Capacity"=0x0,"Voltage"=0x0,"Flags"=0x0,"Current"=0x0,"Amperage"=0x0,"Cycle Count"=0x0} | | "IOGeneralInterest" = "IOCommand is not serializable" | | } | | | +-o AC <class IOACPIPlatformDevice, registered, matched, active, busy 0, retain 6> | | { | | "_UID" = "0" | | "name" = <414350493030303300> | | "_STA" = 0xf | | } | | | +-o HKEY <class IOACPIPlatformDevice, registered, matched, active, busy 0, retain 6> | | { | | "name" = <49424d3030363800> | | "_STA" = 0xf | | } | | | +-o power-button <class IOACPIPlatformDevice, registered, matched, active, busy 0, retain 5> | | | { | | | "device_type" = <706f7765722d627574746f6e00> | | | "IOInterruptControllers" = ("ACPIEventController") | | | "IOInterruptSpecifiers" = (<0200000000000000>) | | | } | | | | | +-o AppleACPIButton <class AppleACPIButton, !registered, !matched, active, busy 0, retain 5> | | { | | "IOProviderClass" = "IOACPIPlatformDevice" | | "IOProbeScore" = 0x0 | | "CFBundleIdentifier" = "com.apple.driver.AppleACPIButtons" | | "IOMatchCategory" = "IODefaultMatchCategory" | | "IONameMatched" = "power-button" | | "IOClass" = "AppleACPIButton" | | "IONameMatch" = ("PNP0C0C","power-button","PNP0C0E","sleep-button","APP000A") | | "IOPowerManagement" = {"CurrentPowerState"=0x2} | | } | | | +-o THM0 <class IOACPIPlatformDevice, registered, matched, active, busy 0, retain 5> | | { | | "device_type" = <746865726d616c2d7a6f6e6500> | | } | | | +-o THM1 <class IOACPIPlatformDevice, registered, matched, active, busy 0, retain 5> | | { | | "device_type" = <746865726d616c2d7a6f6e6500> | | } Link to comment https://www.insanelymac.com/forum/topic/114105-appleacpibatterymanager-for-tiger-and-leopard/page/3/#findComment-819622 Share on other sites More sharing options...
mrbonkers Posted July 15, 2008 Share Posted July 15, 2008 the time should be decreasing during charge as it shows you how much time is left before the battery is fully charged anyway here's my ioreg | | +-o AppleACPIBatteryManager <class AppleACPIBatteryManager, registered, matched, active, busy 0, $ | | +-o AppleACPIBattery <class AppleACPIBattery, registered, matched, active, busy 0, retain 5> | | +-o AppleACPIBatteryManager <class AppleACPIBatteryManager, registered, matched, active, busy 0, $ | | +-o AppleACPIBattery <class AppleACPIBattery, registered, matched, active, busy 0, retain 5 Link to comment https://www.insanelymac.com/forum/topic/114105-appleacpibatterymanager-for-tiger-and-leopard/page/3/#findComment-819676 Share on other sites More sharing options...
dong Posted July 15, 2008 Share Posted July 15, 2008 Yes, you are right. I'm now in ubuntu, the time displayed is really for remaining time for a full charge. The backlight is dimmed previously in ubuntu. In leopard, no battery options can turn it brighter. Now in ubuntu, it automatically changed back. Possibly a problem of video driver. And yes, I also have same problems as other Thinkpad users. Link to comment https://www.insanelymac.com/forum/topic/114105-appleacpibatterymanager-for-tiger-and-leopard/page/3/#findComment-819701 Share on other sites More sharing options...
bozon42 Posted July 15, 2008 Share Posted July 15, 2008 I think I have also som problem with displaying Battery Info: | | +-o AppleACPIBatteryManager | | | { | | | "IOProviderClass" = "IOACPIPlatformDevice" | | | "IOProbeScore" = 0x0 | | | "CFBundleIdentifier" = "com.apple.driver.AppleACPIBatteryManager" | | | "IOMatchCategory" = "IODefaultMatchCategory" | | | "Battery Information" = (0x1,0xfa0,0xec2,0x1,0x2b5c,0xb9,0x81,0x38,0xe09,<47524150453332000000000000000000>,<313230383400>,<4c494f4e000000000000000000000000>,<53414e594f0000000000000000000000>) | | | "IONameMatched" = "PNP0C0A" | | | "IOClass" = "AppleACPIBatteryManager" | | | "IONameMatch" = "PNP0C0A" | | | "IOPowerManagement" = {"CurrentPowerState"=0x1} | | | "Battery Status" = (0x0,0x0,0xec2,0x30cc) | | | } | | | | | +-o AppleACPIBattery | | { | | "ManufacturerData" = <> | | "ExternalConnected" = Yes | | "CurrentCapacity" = 0xec2 | | "FullyCharged" = Yes | | "ManufactureDate" = 0x0 | | "Amperage" = 0x0 | | "LegacyBatteryInfo" = {"Capacity"=0xec2,"Voltage"=0x30cc,"Flags"=0x5,"Current"=0xec2,"Amperage"=0x0,"Cycle Count"=0x1} | | "BatteryInstalled" = Yes | | "AvgTimeToFull" = 0xffff | | "BatteryInvalidWakeSeconds" = 0x1e | | "ExternalChargeCapable" = Yes | | "AvgTimeToEmpty" = 0xffff | | "DesignCapacity" = 0xfa0 | | "PostDischargeWaitSeconds" = 0x78 | | "CellVoltage" = () | | "Temperature" = 0x0 | | "SerialNumber" = 0x0 | | "BatterySerialNumber" = "XXXX-YYYY-0-0" | | "InstantAmperage" = 0x0 | | "CycleCount" = 0x1 | | "Voltage" = 0x30cc | | "IsCharging" = No | | "InstantTimeToEmpty" = 0xffff | | "Quick Poll" = No | | "TimeRemaining" = 0xffff | | "PostChargeWaitSeconds" = 0x78 | | "MaxErr" = 0x1 | | "MaxCapacity" = 0xec2 | | "AdapterInfo" = 0x0 | | "Location" = 0x0 | | "IOGeneralInterest" = "IOCommand is not serializable" | | } | | | +-o ADP1 | | { | | "name" = <414350493030303300> | | "_STA" = 0xf | | } : Link to comment https://www.insanelymac.com/forum/topic/114105-appleacpibatterymanager-for-tiger-and-leopard/page/3/#findComment-819764 Share on other sites More sharing options...
outZider Posted July 15, 2008 Share Posted July 15, 2008 ThinkPad T61, b6. ioreg reports proper battery information, System Profiler is all zeroes still. Also, menu icon shows the adapter icon, but shows the power source as battery when the adapter is plugged in. This has the entertaining consequence of showing the 'you are on reserve power' warning when the battery is 10 minutes from being charged. Link to comment https://www.insanelymac.com/forum/topic/114105-appleacpibatterymanager-for-tiger-and-leopard/page/3/#findComment-820299 Share on other sites More sharing options...
Recommended Posts