hello
@RehabMan and all others,
thank you for all the work you have put into this project
I installed high sierra to my dell studio 1747 laptop,
I have everything working : sound video QE/CI
I am trying to get the battery readings, but it alway shows 0%
I have followed the page 1 posts and it looks like everything is working appart the fMaxCapacity is always 0
dmesg shows:
ACPIBatteryManager: fDeviceName = 'DELL N853P9BN'
ACPIBatteryManager: fSerialNumber = '9CCC'
ACPIBatteryManager: fType = 'Lion'
ACPIBatteryManager: fManufacturer = 'SDI'
ACPIBatteryManager: Calculating for WATTS
ACPIBatteryManager: fDesignCapacity(mAh) = 7800
ACPIBatteryManager: fMaxCapacity(mAh) = 0
ACPIBatteryManager: Error: Capacity Read Zero (0)
ACPIBatteryManager: setBatterySerialNumber called
ACPIBatteryManager: getBatteryBST called
ACPIBatteryManager: setBatteryBST: acpibat_bst size = 4
ACPIBatteryManager: fPowerUnit = 0x0
ACPIBatteryManager: currentStatus = 0x2
ACPIBatteryManager: fCurrentRate = 12111
ACPIBatteryManager: fCurrentCapacity = 646080
ACPIBatteryManager: fCurrentVoltage = 12111
ACPIBatteryManager: Calculating for WATTS
ACPIBatteryManager: fCurrentRate(mA) = 1091
ACPIBatteryManager: fCurrentCapacity(mAh) = 58205
ACPIBatteryManager: fAverageRate = 1091
ACPIBatteryManager: Battery is charging.
ACPIBatteryManager: rebuildLegacyIOBatteryInfo called
where does acpibatterymanager read fMaxCapacity ?
is it hardcoded in the dsdt?
I have attached the files for debugging , along with my patch, and the original dsdt dumped with clover and extracted with refs.txt
if someone could have a look at it , it would help me
thanks
eric