Contribute
Register

Battery Manager with Fix for Boot without Batteries

Status
Not open for further replies.
I have a HP Pavilion DV7-6143CL did the resetting of the batt still getting 87% but the power is plugged in when I unplug the power it show the batt it going up looking at it now its at 89% now

AppleSmartBattery <class AppleSmartBattery, id 0x1000001cc, registered, ma$
{
"PostChargeWaitSeconds" = 120
"TimeRemaining" = 65535
"InstantTimeToEmpty" = 65535
"ExternalChargeCapable" = Yes
"CellVoltage" = (3198,3198,3198,3201)
"PermanentFailureStatus" = 0
"BatteryInvalidWakeSeconds" = 30
"Voltage" = 12795
"MaxCapacity" = 7396
"Quick Poll" = No
"AtWarnLevel" = No
"Manufacturer" = " Hewlett-Packard "
"CurrentCapacity" = 6417
"LegacyBatteryInfo" = {"Amperage"=0,"Flags"=5,"Capacity"=7396,"Current"=6$
"FirmwareSerialNumber" = 0
"BatteryInstalled" = Yes
"CycleCount" = 242
"DesignCapacity" = 8850
"AvgTimeToFull" = 65535
"ManufactureDate" = 0
"AtCriticalLevel" = No
"BatteryType" = "Li"
"InstantTimeToFull" = 65535
"BatterySerialNumber" = "8850-Li4402A"
"PostDischargeWaitSeconds" = 120
"Serial" = "Li4402A"
"Temperature" = 0
"InstantAmperage" = 0
"MaxErr" = 0
"FullyCharged" = Yes
"DeviceName" = "8850"
"IOGeneralInterest" = "IOCommand is not serializable"
"Amperage" = 0
"IsCharging" = No
"ExternalConnected" = Yes
"AvgTimeToEmpty" = 65535

Do I need to fix my DSDT?

What version are you running?
 
I'm running ML 10.8.4
 
No, what version of AppleSmartBatteryManager.kext?

Code:
# in Terminal
kextstat|grep -y battery

29 0 0xffffff7f81a95000 0x6000 0x6000 com.apple.driver.AppleSmartBatteryManager (1.32) <9 4 3>
 
Thank you......it worked it shows 100%
 
Captura de pantalla 2013-08-26 a la(s) 16.47.12.png

Hi, I have a samsung R430 and Mountain Lion 10.8.2 I have installed so far everything works well to me except the battery. I have installed the VoodooBattery 1.3.3 version and AppleSmartBatteryManager 1.0 (but try the 1.32 version), and I do not find anything.


I have installed DSDT I extracted, now I wonder if you can help me patch my DSDT. regards

My DSDT:

View attachment dsdt.aml
 
View attachment 65466

Hi, I have a samsung R430 and Mountain Lion 10.8.2 I have installed so far everything works well to me except the battery. I have installed the VoodooBattery 1.3.3 version and AppleSmartBatteryManager 1.0 (but try the 1.32 version), and I do not find anything.


I have installed DSDT I extracted, now I wonder if you can help me patch my DSDT. regards

My DSDT:

View attachment 65467

Battery Manager 1.33 is available here: https://github.com/RehabMan/OS-X-ACPI-Battery-Driver

I have already posted a Samsung battery patch that seems like it fits your DSDT. Here is it is:

Code:
# Samsung Battery patch -jack7676

# for Samsung Series 3 NP300E5E laptop

# created by RehabMan 8/20/2013

into method label B1B2 remove_entry;
into definitionblock code_regex . insert
begin
Method (B1B2, 2, NotSerialized) { Return (Or (Arg0, ShiftLeft (Arg1, 8))) }\n
end;

# 16-bit EC registers to 8-bit

into device label H_EC code_regex B1RP,\s+16 replace_matched begin BRP0,8,BRP1,8 end;
into device label H_EC code_regex B1RA,\s+16 replace_matched begin BRA0,8,BRA1,8 end;
into device label H_EC code_regex B1PR,\s+16 replace_matched begin BPR0,8,BPR1,8 end;
into device label H_EC code_regex B1VO,\s+16 replace_matched begin BVO0,8,BVO1,8 end;
into device label H_EC code_regex B1DA,\s+16 replace_matched begin BDA0,8,BDA1,8 end;
into device label H_EC code_regex B1DF,\s+16 replace_matched begin BDF0,8,BDF1,8 end;
into device label H_EC code_regex B1DV,\s+16 replace_matched begin BDV0,8,BDV1,8 end;
into device label H_EC code_regex B1DL,\s+16 replace_matched begin BDL0,8,BDL1,8 end;
into device label H_EC code_regex B1SE,\s+16 replace_matched begin BSE0,8,BSE1,8 end;
into device label H_EC code_regex B1CR,\s+16 replace_matched begin BCR0,8,BCR1,8 end;
into device label H_EC code_regex B1TM,\s+16 replace_matched begin BTM0,8,BTM1,8 end;
into device label H_EC code_regex BTPC,\s+16 replace_matched begin BPC0,8,BPC1,8 end;


into method label _BIF code_regex \(B1DA, replaceall_matched begin (B1B2(BDA0,BDA1), end;
into method label _BIF code_regex \(B1DF, replaceall_matched begin (B1B2(BDF0,BDF1), end;
into method label _BIF code_regex \(B1DV, replaceall_matched begin (B1B2(BDV0,BDV1), end;
into method label _BIF code_regex \(B1DL, replaceall_matched begin (B1B2(BDL0,BDL1), end;

into method label _BIX code_regex \(B1DA, replaceall_matched begin (B1B2(BDA0,BDA1), end;
into method label _BIX code_regex \(B1DF, replaceall_matched begin (B1B2(BDF0,BDF1), end;
into method label _BIX code_regex \(B1DV, replaceall_matched begin (B1B2(BDV0,BDV1), end;
into method label _BIX code_regex \(B1DL, replaceall_matched begin (B1B2(BDL0,BDL1), end;

into method label _BST code_regex \(B1PR, replaceall_matched begin (B1B2(BPR0,BPR1), end;
into method label _BST code_regex \(B1RA, replaceall_matched begin (B1B2(BRA0,BRA1), end;
into method label _BST code_regex \(B1VO, replaceall_matched begin (B1B2(BVO0,BVO1), end;

into method label _PTS code_regex \(\\_SB\.PCI0\.LPCB\.H_EC\.B1DF, replaceall_matched begin (B1B2(\\_SB.PCI0.LPCB.H_EC.BDF0,\\_SB.PCI0.LPCB.H_EC.BDF1), end;
into method label _WAK code_regex \(\\_SB\.PCI0\.LPCB\.H_EC\.B1DF, replaceall_matched begin (B1B2(\\_SB.PCI0.LPCB.H_EC.BDF0,\\_SB.PCI0.LPCB.H_EC.BDF1), end;

into method label _BTP code_regex Store\s+\(Local0,\s+BTPC\) replaceall_matched 
begin
   Store(ShiftRight(Local0, 8),BPC1)\n
   Store(Local0, BPC0)\n
end;

Make sure you remove the Voodoo battery driver(s) as it is not a good idea to have two battery managers present.
 
Battery Manager 1.33 is available here: https://github.com/RehabMan/OS-X-ACPI-Battery-Driver

I have already posted a Samsung battery patch that seems like it fits your DSDT. Here is it is:

Code:
# Samsung Battery patch -jack7676

# for Samsung Series 3 NP300E5E laptop

# created by RehabMan 8/20/2013

into method label B1B2 remove_entry;
into definitionblock code_regex . insert
begin
Method (B1B2, 2, NotSerialized) { Return (Or (Arg0, ShiftLeft (Arg1, 8))) }\n
end;

# 16-bit EC registers to 8-bit

into device label H_EC code_regex B1RP,\s+16 replace_matched begin BRP0,8,BRP1,8 end;
into device label H_EC code_regex B1RA,\s+16 replace_matched begin BRA0,8,BRA1,8 end;
into device label H_EC code_regex B1PR,\s+16 replace_matched begin BPR0,8,BPR1,8 end;
into device label H_EC code_regex B1VO,\s+16 replace_matched begin BVO0,8,BVO1,8 end;
into device label H_EC code_regex B1DA,\s+16 replace_matched begin BDA0,8,BDA1,8 end;
into device label H_EC code_regex B1DF,\s+16 replace_matched begin BDF0,8,BDF1,8 end;
into device label H_EC code_regex B1DV,\s+16 replace_matched begin BDV0,8,BDV1,8 end;
into device label H_EC code_regex B1DL,\s+16 replace_matched begin BDL0,8,BDL1,8 end;
into device label H_EC code_regex B1SE,\s+16 replace_matched begin BSE0,8,BSE1,8 end;
into device label H_EC code_regex B1CR,\s+16 replace_matched begin BCR0,8,BCR1,8 end;
into device label H_EC code_regex B1TM,\s+16 replace_matched begin BTM0,8,BTM1,8 end;
into device label H_EC code_regex BTPC,\s+16 replace_matched begin BPC0,8,BPC1,8 end;


into method label _BIF code_regex \(B1DA, replaceall_matched begin (B1B2(BDA0,BDA1), end;
into method label _BIF code_regex \(B1DF, replaceall_matched begin (B1B2(BDF0,BDF1), end;
into method label _BIF code_regex \(B1DV, replaceall_matched begin (B1B2(BDV0,BDV1), end;
into method label _BIF code_regex \(B1DL, replaceall_matched begin (B1B2(BDL0,BDL1), end;

into method label _BIX code_regex \(B1DA, replaceall_matched begin (B1B2(BDA0,BDA1), end;
into method label _BIX code_regex \(B1DF, replaceall_matched begin (B1B2(BDF0,BDF1), end;
into method label _BIX code_regex \(B1DV, replaceall_matched begin (B1B2(BDV0,BDV1), end;
into method label _BIX code_regex \(B1DL, replaceall_matched begin (B1B2(BDL0,BDL1), end;

into method label _BST code_regex \(B1PR, replaceall_matched begin (B1B2(BPR0,BPR1), end;
into method label _BST code_regex \(B1RA, replaceall_matched begin (B1B2(BRA0,BRA1), end;
into method label _BST code_regex \(B1VO, replaceall_matched begin (B1B2(BVO0,BVO1), end;

into method label _PTS code_regex \(\\_SB\.PCI0\.LPCB\.H_EC\.B1DF, replaceall_matched begin (B1B2(\\_SB.PCI0.LPCB.H_EC.BDF0,\\_SB.PCI0.LPCB.H_EC.BDF1), end;
into method label _WAK code_regex \(\\_SB\.PCI0\.LPCB\.H_EC\.B1DF, replaceall_matched begin (B1B2(\\_SB.PCI0.LPCB.H_EC.BDF0,\\_SB.PCI0.LPCB.H_EC.BDF1), end;

into method label _BTP code_regex Store\s+\(Local0,\s+BTPC\) replaceall_matched 
begin
   Store(ShiftRight(Local0, 8),BPC1)\n
   Store(Local0, BPC0)\n
end;

Make sure you remove the Voodoo battery driver(s) as it is not a good idea to have two battery managers present.

That patch that you mention. How I can apply it to my DSDT?
I used the evoDSDTse to handle my DSDT, you suggest some program?
 
Status
Not open for further replies.
Back
Top