Jump to content

AppleACPIBatteryManager for Tiger and Leopard


418 posts in this topic

Recommended Posts

Hi pnu,

 

If possrible, can you post your ioreg_sp.txt here. Thanks.

 

Chun-Nan

 

I didn't really know what is the information you need. So i hope, i didn't post to much sensless {censored} :D

 

greetz, phil

 

	| +-o BAT0  <class IOACPIPlatformDevice, registered, matched, active, busy 0, retain 7>
| | | {
| | |   "_UID" = "0"
| | |   "name" = <504e503043304100>
| | |   "_STA" = 0x0
| | | }
| | | 
| | +-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 AppleACPIBatteryDevice  <class AppleACPIBatteryDevice, 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 BAT1  <class IOACPIPlatformDevice, registered, matched, active, busy 0, retain 7>
| | | {
| | |   "_UID" = "1"
| | |   "name" = <504e503043304100>
| | |   "_STA" = 0x0
| | | }
| | | 
| | +-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 AppleACPIBatteryDevice  <class AppleACPIBatteryDevice, 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
| |   }
| |

Link to comment
Share on other sites

Tried beta 11 and it's still the same , giving me KP during boot up without the AC connected......

 

But with AC connected to my laptop no problem at all , charging is fine info displays out also....

 

Well i did try another kext from Superhai ( ACPIBattery.kext ) and his kext works fine on my laptop without the AC conneted....

 

 

 

 

 

Guys same prob. here...with 10.5.4 vanilla install.............

Link to comment
Share on other sites

Hello Chun-nan

 

I am using your B11 battery kext and it has sorted my battery issue where it only lasts for 15mins. The battery has now been running for 41mins without any issue but my Battery indicator has now dissapeared. I am running Kalyway 10.5.2 on a HP nc6400.

 

I have tried running the Slim battery monitor app, but all that happens is the battery icon quickly pops up on boot and then dissapears again when my wifi icon and my bluetooth icon appear.

 

Can you help?

 

Can you tell me what info you need in order to have a go at diagnosing this issue?

 

Ta

 

Mac the Bob

Link to comment
Share on other sites

Hi guys,

 

I have uploaded the original (English) PowerManagement on the 1st post. The zipped file contains the PowerManagement for 10.5.1, 10.5.2, 10.5.3, 10.5.4.

 

For those whose battery indicator disappears, you might try to use the original PowerManagement from the zipped file to see if it makes any difference. Thanks.

 

Chun-Nan

 

Hi Chun nan thanx for helping me, this is the KP pic u requested....

 

.....

 

Hi neos and emuzaman,

 

I have been busy recently. I will let you know if I find the solution. Thanks.

 

Chun-Nan

 

I didn't really know what is the information you need. So i hope, i didn't post to much sensless {censored} :(

 

greetz, phil

 

	| +-o BAT0  <class IOACPIPlatformDevice, registered, matched, active, busy 0, retain 7>
	  | | | {
	  | | |   "_UID" = "0"
	  | | |   "name" = <504e503043304100>
	  | | |   "_STA" = 0x0
	  | | | }
	  | | | 
 .....

 

Hi pnu,

 

According to your ioreg_sp.txt, the "_STA" of your battery shows "0x0" and that is why the program thinks you don't have battery installed. I don't know if I can do anything about it yet.

 

Chun-Nan

Link to comment
Share on other sites

Hi Chun-nan

 

I tried the original powermanagement kext for 10.5.2 and it still just appears quickly and then dissapears.

 

Any ideas?

 

Mac the Bob

 

Hi Mac the bob,

 

If you have replaced any files to make your battery indicator work before, I will suggest you to restore those files first.

 

If possible, can you post your ioreg_sp.txt here? (About this Mac->More Info->Software->logs->ioreg-sp.txt).

 

Thanks.

 

Chun-Nan

Link to comment
Share on other sites

Thanks for this.

 

Here you go.

 

It's a bit big to post the whole thing in the thread so I've attached it as a text file.

 

Mac the Bob

 

Hi Mac the bob,

 

According to your ioreg_sp.txt, you have 2 battery bays on your computer. However, one is loaded by AppleACPIBatteryManager while the other is loaded by AppleACPIPowerSource.

 

Try to remove the AppleACPIPowerSource to see if it will make any difference. Let me know the result. Thanks.

 

Chun-Nan

 

Hi Chun nan thanx for helping me, this is the KP pic u requested....

 

.....

 

Hi neos and emuzaman,

 

Please try this debug edition of AppleACPIBatteryManager. If you are still getting kernel panic, please post the kernel panic picture here because I have enabled the debug informaiton. Let me know the result. Thanks.

 

Chun-Nan

 

AppleACPIBatteryManager.debug.zip

Link to comment
Share on other sites

Hi Chun Nan , tried your appleacpibatterymanager.debug.kext without the AC connected ......

 

No KP at all on .....

 

This is my ioreg

 

| +-o BAT1 <class IOACPIPlatformDevice, registered, matched, active, busy 0, retain 7>

| | | {

| | | "_UID" = "1"

| | | "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,0xe178,0xe178,0x0,0x1ce8,0x0,0x78,0x0,0xa,"","","LION","Sony Corp.")

| | | "IONameMatched" = "PNP0C0A"

| | | "IOClass" = "AppleACPIBatteryManager"

| | | "IONameMatch" = "PNP0C0A"

| | | "IOPowerManagement" = {"CurrentPowerState"=0x1}

| | | "Battery Status" = (0x1,0x340a,0xd76e,0x1fe3)

| | | }

| | |

| | +-o AppleACPIBatteryDevice <class AppleACPIBatteryDevice, registered, matched, active, busy 0, retain 5>

| | {

| | "ManufacturerData" = <>

| | "ExternalConnected" = No

| | "CurrentCapacity" = 0x1ec6

| | "FullyCharged" = No

| | "ManufactureDate" = 0x0

| | "Amperage" = 0xfffffffffffff60c

| | "LegacyBatteryInfo" = {"Capacity"=0x2035,"Voltage"=0x1fe3,"Flags"=0x4,"Current"=0x1ec6,"Amperage"=0xfffffffffffff60c,"Cycle Count"=0x0}

| | "BatteryInstalled" = Yes

| | "DeviceName" = ""

| | "BatteryInvalidWakeSeconds" = 0x1e

| | "AvgTimeToFull" = 0xffff

| | "ExternalChargeCapable" = No

| | "Type" = "LION"

| | "AvgTimeToEmpty" = 0xb9

| | "DesignCapacity" = 0x2035

| | "PostDischargeWaitSeconds" = 0x78

| | "CellVoltage" = (0xaa1,0xaa1,0xaa1,0x0)

| | "Temperature" = 0x7f8

| | "Serial" = ""

| | "Manufacturer" = "Sony Corp."

| | "SerialNumber" = 0x0

| | "InstantAmperage" = 0xfffffffffffff891

| | "BatterySerialNumber" = "Sony Corp.--LION-"

| | "CycleCount" = 0x0

| | "Voltage" = 0x1fe3

| | "IsCharging" = No

| | "InstantTimeToEmpty" = 0xf8

| | "Quick Poll" = No

| | "TimeRemaining" = 0xb9

| | "PostChargeWaitSeconds" = 0x78

| | "MaxErr" = 0x0

| | "MaxCapacity" = 0x2035

| | "AdapterInfo" = 0x0

| | "Location" = 0x0

| | "IOGeneralInterest" = "IOCommand is not serializable"

| | }

This is my battery info

 

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): 7537

Fully charged: No

Charging: No

Full charge capacity (mAh): 8245

Health Information:

Cycle count: 0

Condition: Good

Battery Installed: Yes

Amperage (mA): -1801

Voltage (mV): 8094

 

System Power Settings:

 

AC Power:

System Sleep Timer (Minutes): 0

Disk Sleep Timer (Minutes): 10

Display Sleep Timer (Minutes): 10

Automatic Restart On Power Loss: No

Wake On LAN: Yes

Display Sleep Uses Dim: Yes

Battery Power:

System Sleep Timer (Minutes): 0

Disk Sleep Timer (Minutes): 10

Display Sleep Timer (Minutes): 2

Display Sleep Uses Dim: Yes

Reduce Brightness: Yes

 

Hardware Configuration:

 

UPS Installed: No

 

AC Charger Information:

 

Connected: No

Charging: No

 

Strange thing though , it take a few minute to calculate my remaining battery time.... ( ie from 2:30 it will jump to 3:15 then another few more minutes it will show my correct battery time 4:15 )

 

Pug back the AC it shows the remaining time to charge which is normal....

 

So it's so for so good on this kext.... thanx

Link to comment
Share on other sites

Hi neos and emuzaman,

 

Please try this debug edition of AppleACPIBatteryManager. If you are still getting kernel panic, please post the kernel panic picture here because I have enabled the debug informaiton. Let me know the result. Thanks.

 

Chun-Nan

 

AppleACPIBatteryManager.debug.zip

 

Hi Chun-Nan,

 

frist of all, i would like to thank you for helping me..

ok, i've tried your "debug edition of AppleACPIBatteryManager" with no succsess..

i'm still getting KP at shutdown (when on battery power)

 

could you pls figure out what's wrong?

 

(..how could i get the kp pic at shutdown pls infrom ..)

 

Best regards.

Link to comment
Share on other sites

Hi Chun Nan , tried your appleacpibatterymanager.debug.kext without the AC connected ......

 

No KP at all on .....

 

This is my ioreg

 

 

This is my battery info

 

 

 

Strange thing though , it take a few minute to calculate my remaining battery time.... ( ie from 2:30 it will jump to 3:15 then another few more minutes it will show my correct battery time 4:15 )

 

Pug back the AC it shows the remaining time to charge which is normal....

 

So it's so for so good on this kext.... thanx

 

Hi neos,

 

The remaining time will depend on the current rate it reads. Therefore, it may vary.

 

Chun-Nan

 

Hi Chun-Nan,

 

frist of all, i would like to thank you for helping me..

ok, i've tried your "debug edition of AppleACPIBatteryManager" with no succsess..

i'm still getting KP at shutdown (when on battery power)

 

could you pls figure out what's wrong?

 

(..how could i get the kp pic at shutdown pls infrom ..)

 

Best regards.

 

Hi emuzaman,

 

Try to remove AppleACPIBatteryManager from your Extensions folder to see if you still get KP at shutown when on battery power. Let me know the result. Thanks.

 

Chun-Nan

Link to comment
Share on other sites

Hi emuzaman,

 

Try to remove AppleACPIBatteryManager from your Extensions folder to see if you still get KP at shutown when on battery power. Let me know the result. Thanks.

 

Chun-Nan

 

Hi Chun-Nan,

Removed AppleACPIBatteryManager from my Extensions folder..but the battery meter gone! everything set to the default(first time install position),can't see any battery thing anywhere... :blink:

ok,facing no KP at shutdown now.. :P

(by the way, i installed a copy of retail ver. ....updated to 10.5.4 & my rig is at the bottom of my sig.)

what to do, any new solution?

 

thanx.

Link to comment
Share on other sites

Hi Chun-Nan,

Removed AppleACPIBatteryManager from my Extensions folder..but the battery meter gone! everything set to the default(first time install position),can't see any battery thing anywhere... :hysterical:

ok,facing no KP at shutdown now.. :hysterical:

(by the way, i installed a copy of retail ver. ....updated to 10.5.4 & my rig is at the bottom of my sig.)

what to do, any new solution?

 

thanx.

 

Hi emuzaman,

 

Thanks for the result. That is odd. Have you ever replaced PowerManagement to make the battery meter work?

 

If possible, can you post your ioreg_sp.txt here with AppleACPIBatteryManager installed? Thanks.

 

Chun-Nan

Link to comment
Share on other sites

Hi emuzaman,

 

Thanks for the result. That is odd. Have you ever replaced PowerManagement to make the battery meter work?

 

If possible, can you post your ioreg_sp.txt here with AppleACPIBatteryManager installed? Thanks.

 

Chun-Nan

 

Hi Chun-Nan,

 

Thanks for quick reply....

(Have you ever replaced PowerManagement to make the battery meter work?)

ans.-no, i did not...

and, could you pls tell me where can i get ioreg_sp.txt that i post here for you....

 

emuzaman.

Link to comment
Share on other sites

Hi guys,

 

I have uploaded b12 edition of AppleACPIBatteryManager. Check the 1st post for the detail.

 

If you were getting the KP while booting without AC Power plugged in, you can give it a try.

 

If you still have problem with the AppleACPIBatteryManager, please post the "ioreg_sp.txt"(leopard) or ioreg result (using ioreg -lw0) here if possible. Thanks.

 

Chun-Nan

 

Hi Chun-Nan,

 

Thanks for quick reply....

(Have you ever replaced PowerManagement to make the battery meter work?)

ans.-no, i did not...

and, could you pls tell me where can i get ioreg_sp.txt that i post here for you....

 

emuzaman.

 

Hi emuzaman,

 

You can give b12 a try. If you are still getting KP, go to "About this Mac->More Info->Software->logs->ioreg-sp.txt" and post the file here. Thanks.

 

Chun-Nan

Link to comment
Share on other sites

Hi emuzaman,

 

You can give b12 a try. If you are still getting KP, go to "About this Mac->More Info->Software->logs->ioreg-sp.txt" and post the file here. Thanks.

 

Chun-Nan

 

Hi Chun-Nan,

Thanx again for your support..

Gave try the b12, but still same pic... :(

ok here's my "ioreg-sp.txt" & battery info.--

ioreg_sp.txt:
Downloaded by Chun-Nan

 

If you see the battery condition, it says- Check battery!-is that normal? and when i boot with or without ac connected every time i see a cross on the battery for a lil while, is that mean, no battery installed?....

and one more thing i remember that i used latest ps2fix pkg to get my track pad, keyboard back..i think that pkg contain modified power management bundle...

Link to comment
Share on other sites

Hi Chun-Nan,

Thanx again for your support..

Gave try the b12, but still same pic... :D

ok here's my "ioreg-sp.txt" & battery info.--

 

.....

 

Battery Information:

  Model Information:
  Serial Number:	Hewlett-Packard-Primary-LION-
  Manufacturer:	Hewlett-Packard
  Device name:	Primary
  Pack Lot Code:	0000
  PCB Lot Code:	0000
  Firmware Version:	0000
  Hardware Revision:	0000
  Cell Revision:	0000
  Charge Information:
  Charge remaining (mAh):	3392
  Fully charged:	No
  Charging:	No
  Full charge capacity (mAh):	4224
  Health Information:
  Cycle count:	253
  Condition:	Check battery
  Battery Installed:	Yes
  Amperage (mA):	0
  Voltage (mV):	11826

System Power Settings:

  AC Power:
  System Sleep Timer (Minutes):	0
  Disk Sleep Timer (Minutes):	10
  Display Sleep Timer (Minutes):	20
  Automatic Restart On Power Loss:	No
  Wake On LAN:	Yes
  Display Sleep Uses Dim:	Yes
  Battery Power:
  System Sleep Timer (Minutes):	5
  Disk Sleep Timer (Minutes):	10
  Display Sleep Timer (Minutes):	1
  Display Sleep Uses Dim:	Yes
  Reduce Brightness:	Yes

Hardware Configuration:

  UPS Installed:	No

AC Charger Information:

  Connected:	No
  Charging:	No

 

If you see the battery condition, it says- Check battery!-is that normal? and when i boot with or without ac connected every time i see a cross on the battery for a lil while, is that mean, no battery installed?....

and one more thing i remember that i used latest ps2fix pkg to get my track pad, keyboard back..i think that pkg contain modified power management bundle...

 

Hi emuzaman,

 

Thanks for your ioreg_sp.txt. I have downloaded it so I think you can remove it (the ioreg_sp information) because it takes too much space.

 

I will let you know if I find the problem. If possible, next time maybe you can save it as a file and upload it here. Thanks.

 

Chun-Nan

 

EDIT:

 

Try this AppleACPIBatteryManager and let me know the result. Make sure you are using the original powermanagement. (You can check the 1st post for the original powermanagement).

 

If possibe, after trying it, save your "ioreg_sp.txt" as a file and upload it here. Thanks.

 

Chun-Nan

 

AppleACPIBatteryManager.emuzaman.zip

Link to comment
Share on other sites

Hi emuzaman,

 

Thanks for your ioreg_sp.txt. I have downloaded it so I think you can remove it (the ioreg_sp information) because it takes too much space.

 

I will let you know if I find the problem. If possible, next time maybe you can save it as a file and upload it here. Thanks.

 

Chun-Nan

 

EDIT:

 

Try this AppleACPIBatteryManager and let me know the result. Make sure you are using the original powermanagement. (You can check the 1st post for the original powermanagement).

 

If possibe, after trying it, save your "ioreg_sp.txt" as a file and upload it here. Thanks.

 

Chun-Nan

 

Hi Chun-Nan,

 

Tried new AppleACPIBatteryManager with original powermanagement(10.5.4).but.....nothing's change..

Here's the new "ioreg_sp.txt" you wanted.

ioreg_sp.txt___battery_info._for_Chun_Nan.zip

 

Thanx.

emuzaman.

Link to comment
Share on other sites

 Share

×
×
  • Create New...