Contribute
Register

[solved] T450 DUAL Battery Status help

Status
Not open for further replies.
I again confronted with same problem couple of minutes ago. This time interestingly, sound card is also not detected. Upon restart everything went back to normal. Here is the log from ACPIBatteryManager.kext
Code:
default   23:03:11.377549 +0300   kernel   ACPIBatteryManager: pollingTimeOut called

default   23:03:11.377587 +0300   kernel   ACPIBatteryManager: pollBatteryState: path = 2
default   23:03:11.377592 +0300   kernel   ACPIBatteryManager: getBatterySTA called

default   23:03:11.377774 +0300   kernel   ACPIBatteryManager: setBatterySTA: battery_status = 0x1f
default   23:03:11.377782 +0300   kernel   ACPIBatteryManager: getBatteryBIF called

default   23:03:11.377805 +0300   kernel   ACPIBatteryManager: validateObject return 0x0
default   23:03:11.386057 +0300   kernel   ACPIBatteryManager: setBatteryBIF: acpibat_bif size = 13
default   23:03:11.386069 +0300   kernel   ACPIBatteryManager: fPowerUnit       = 0x1
default   23:03:11.386071 +0300   kernel   ACPIBatteryManager: fDesignCapacityRaw  = 9300
default   23:03:11.386074 +0300   kernel   ACPIBatteryManager: fMaxCapacityRaw     = 7517
default   23:03:11.386076 +0300   kernel   ACPIBatteryManager: fBatteryTech     = 0x1
default   23:03:11.386078 +0300   kernel   ACPIBatteryManager: fDesignVoltage   = 11100
default   23:03:11.386086 +0300   kernel   ACPIBatteryManager: fCapacityWarningRaw = -1
default   23:03:11.386090 +0300   kernel   ACPIBatteryManager: fLowWarningRaw      = 0
default   23:03:11.386092 +0300   kernel   ACPIBatteryManager: fDeviceName      = ''
default   23:03:11.386095 +0300   kernel   ACPIBatteryManager: fSerialNumber    = ''
default   23:03:11.386097 +0300   kernel   ACPIBatteryManager: fType            = 'Lion'
default   23:03:11.386100 +0300   kernel   ACPIBatteryManager: fManufacturer    = 'Sony Corporation'
default   23:03:11.386108 +0300   kernel   ACPIBatteryManager: setBatterySerialNumber called

default   23:03:11.386115 +0300   kernel   ACPIBatteryManager: getBatteryBST called

default   23:03:11.390271 +0300   kernel   ACPIBatteryManager: setBatteryBST: acpibat_bst size = 4
default   23:03:11.390281 +0300   kernel   ACPIBatteryManager: fPowerUnit       = 0x1
default   23:03:11.390283 +0300   kernel   ACPIBatteryManager: currentStatus    = 0x1
default   23:03:11.390285 +0300   kernel   ACPIBatteryManager: fCurrentRate     = 2115
default   23:03:11.390287 +0300   kernel   ACPIBatteryManager: fCurrentCapacity = 7218
default   23:03:11.390289 +0300   kernel   ACPIBatteryManager: fCurrentVoltage  = 12173
default   23:03:11.390291 +0300   kernel   ACPIBatteryManager: fAverageRate = 1058
default   23:03:11.390301 +0300   kernel   ACPIBatteryManager: AppleSmartBattery: Battery is discharging.

default   23:03:11.390308 +0300   kernel   ACPIBatteryManager: rebuildLegacyIOBatteryInfo called

default   23:03:41.391428 +0300   kernel   ACPIBatteryManager: pollingTimeOut called

default   23:03:41.391475 +0300   kernel   ACPIBatteryManager: pollBatteryState: path = 2
default   23:03:41.391488 +0300   kernel   ACPIBatteryManager: getBatterySTA called

default   23:03:41.391760 +0300   kernel   ACPIBatteryManager: setBatterySTA: battery_status = 0x1f
default   23:03:41.391768 +0300   kernel   ACPIBatteryManager: getBatteryBIF called

default   23:03:41.391781 +0300   kernel   ACPIBatteryManager: validateObject return 0x0
default   23:03:41.399383 +0300   kernel   ACPIBatteryManager: setBatteryBIF: acpibat_bif size = 13
default   23:03:41.399396 +0300   kernel   ACPIBatteryManager: fPowerUnit       = 0x1
default   23:03:41.399398 +0300   kernel   ACPIBatteryManager: fDesignCapacityRaw  = 9300
default   23:03:41.399401 +0300   kernel   ACPIBatteryManager: fMaxCapacityRaw     = 7517
default   23:03:41.399403 +0300   kernel   ACPIBatteryManager: fBatteryTech     = 0x1
default   23:03:41.399405 +0300   kernel   ACPIBatteryManager: fDesignVoltage   = 11100
default   23:03:41.399408 +0300   kernel   ACPIBatteryManager: fCapacityWarningRaw = 751
default   23:03:41.399410 +0300   kernel   ACPIBatteryManager: fLowWarningRaw      = 0
default   23:03:41.399413 +0300   kernel   ACPIBatteryManager: fDeviceName      = ''
default   23:03:41.399415 +0300   kernel   ACPIBatteryManager: fSerialNumber    = ''
default   23:03:41.399418 +0300   kernel   ACPIBatteryManager: fType            = 'Lion'
default   23:03:41.399420 +0300   kernel   ACPIBatteryManager: fManufacturer    = 'Sony Corporation'
default   23:03:41.399428 +0300   kernel   ACPIBatteryManager: setBatterySerialNumber called

default   23:03:41.399435 +0300   kernel   ACPIBatteryManager: getBatteryBST called

default   23:03:41.403853 +0300   kernel   ACPIBatteryManager: setBatteryBST: acpibat_bst size = 4
default   23:03:41.403861 +0300   kernel   ACPIBatteryManager: fPowerUnit       = 0x1
default   23:03:41.403863 +0300   kernel   ACPIBatteryManager: currentStatus    = 0x1
default   23:03:41.403865 +0300   kernel   ACPIBatteryManager: fCurrentRate     = 1207
default   23:03:41.403867 +0300   kernel   ACPIBatteryManager: fCurrentCapacity = 7189
default   23:03:41.403869 +0300   kernel   ACPIBatteryManager: fCurrentVoltage  = 12208
default   23:03:41.403872 +0300   kernel   ACPIBatteryManager: fAverageRate = 1132
default   23:03:41.403881 +0300   kernel   ACPIBatteryManager: AppleSmartBattery: Battery is discharging.

default   23:03:41.403886 +0300   kernel   ACPIBatteryManager: rebuildLegacyIOBatteryInfo called

default   23:04:11.404593 +0300   kernel   ACPIBatteryManager: pollingTimeOut called

default   23:04:11.404627 +0300   kernel   ACPIBatteryManager: pollBatteryState: path = 2
default   23:04:11.404634 +0300   kernel   ACPIBatteryManager: getBatterySTA called

default   23:04:11.404871 +0300   kernel   ACPIBatteryManager: setBatterySTA: battery_status = 0x1f
default   23:04:11.404892 +0300   kernel   ACPIBatteryManager: getBatteryBIF called

default   23:04:11.404907 +0300   kernel   ACPIBatteryManager: validateObject return 0x0
default   23:04:11.412674 +0300   kernel   ACPIBatteryManager: setBatteryBIF: acpibat_bif size = 13
default   23:04:11.412687 +0300   kernel   ACPIBatteryManager: fPowerUnit       = 0x1
default   23:04:11.412690 +0300   kernel   ACPIBatteryManager: fDesignCapacityRaw  = 9300
default   23:04:11.412692 +0300   kernel   ACPIBatteryManager: fMaxCapacityRaw     = 7517
default   23:04:11.412694 +0300   kernel   ACPIBatteryManager: fBatteryTech     = 0x1
default   23:04:11.412697 +0300   kernel   ACPIBatteryManager: fDesignVoltage   = 11100
default   23:04:11.412699 +0300   kernel   ACPIBatteryManager: fCapacityWarningRaw = 751
default   23:04:11.412701 +0300   kernel   ACPIBatteryManager: fLowWarningRaw      = 0
default   23:04:11.412704 +0300   kernel   ACPIBatteryManager: fDeviceName      = ''
default   23:04:11.412706 +0300   kernel   ACPIBatteryManager: fSerialNumber    = ''
default   23:04:11.412709 +0300   kernel   ACPIBatteryManager: fType            = 'Lion'
default   23:04:11.412712 +0300   kernel   ACPIBatteryManager: fManufacturer    = 'Sony Corporation'
default   23:04:11.412720 +0300   kernel   ACPIBatteryManager: setBatterySerialNumber called

default   23:04:11.412728 +0300   kernel   ACPIBatteryManager: getBatteryBST called

default   23:04:11.417189 +0300   kernel   ACPIBatteryManager: setBatteryBST: acpibat_bst size = 4
default   23:04:11.417198 +0300   kernel   ACPIBatteryManager: fPowerUnit       = 0x1
default   23:04:11.417206 +0300   kernel   ACPIBatteryManager: currentStatus    = 0x1
default   23:04:11.417208 +0300   kernel   ACPIBatteryManager: fCurrentRate     = 991
default   23:04:11.417210 +0300   kernel   ACPIBatteryManager: fCurrentCapacity = 7187
default   23:04:11.417212 +0300   kernel   ACPIBatteryManager: fCurrentVoltage  = 12269
default   23:04:11.417215 +0300   kernel   ACPIBatteryManager: fAverageRate = 1061
default   23:04:11.417229 +0300   kernel   ACPIBatteryManager: AppleSmartBattery: Battery is discharging.

default   23:04:11.417239 +0300   kernel   ACPIBatteryManager: rebuildLegacyIOBatteryInfo called

default   23:04:41.417614 +0300   kernel   ACPIBatteryManager: pollingTimeOut called

default   23:04:41.417655 +0300   kernel   ACPIBatteryManager: pollBatteryState: path = 2
default   23:04:41.417658 +0300   kernel   ACPIBatteryManager: getBatterySTA called

default   23:04:41.417772 +0300   kernel   ACPIBatteryManager: setBatterySTA: battery_status = 0x1f
default   23:04:41.417778 +0300   kernel   ACPIBatteryManager: getBatteryBIF called

default   23:04:41.417787 +0300   kernel   ACPIBatteryManager: validateObject return 0x0
default   23:04:41.425686 +0300   kernel   ACPIBatteryManager: setBatteryBIF: acpibat_bif size = 13
default   23:04:41.425702 +0300   kernel   ACPIBatteryManager: fPowerUnit       = 0x1
default   23:04:41.425706 +0300   kernel   ACPIBatteryManager: fDesignCapacityRaw  = 9300
default   23:04:41.425709 +0300   kernel   ACPIBatteryManager: fMaxCapacityRaw     = 7517
default   23:04:41.425713 +0300   kernel   ACPIBatteryManager: fBatteryTech     = 0x1
default   23:04:41.425716 +0300   kernel   ACPIBatteryManager: fDesignVoltage   = 11100
default   23:04:41.425719 +0300   kernel   ACPIBatteryManager: fCapacityWarningRaw = 751
default   23:04:41.425722 +0300   kernel   ACPIBatteryManager: fLowWarningRaw      = 0
default   23:04:41.425726 +0300   kernel   ACPIBatteryManager: fDeviceName      = ''
default   23:04:41.425729 +0300   kernel   ACPIBatteryManager: fSerialNumber    = ''
default   23:04:41.425732 +0300   kernel   ACPIBatteryManager: fType            = 'Lion'
default   23:04:41.425735 +0300   kernel   ACPIBatteryManager: fManufacturer    = 'Sony Corporation'
default   23:04:41.425744 +0300   kernel   ACPIBatteryManager: setBatterySerialNumber called

default   23:04:41.425754 +0300   kernel   ACPIBatteryManager: getBatteryBST called

default   23:04:41.429711 +0300   kernel   ACPIBatteryManager: setBatteryBST: acpibat_bst size = 4
default   23:04:41.429719 +0300   kernel   ACPIBatteryManager: fPowerUnit       = 0x1
default   23:04:41.429721 +0300   kernel   ACPIBatteryManager: currentStatus    = 0x1
default   23:04:41.429723 +0300   kernel   ACPIBatteryManager: fCurrentRate     = 1021
default   23:04:41.429724 +0300   kernel   ACPIBatteryManager: fCurrentCapacity = 7171
default   23:04:41.429726 +0300   kernel   ACPIBatteryManager: fCurrentVoltage  = 12245
default   23:04:41.429728 +0300   kernel   ACPIBatteryManager: fAverageRate = 1041
default   23:04:41.429737 +0300   kernel   ACPIBatteryManager: AppleSmartBattery: Battery is discharging.

default   23:04:41.429743 +0300   kernel   ACPIBatteryManager: rebuildLegacyIOBatteryInfo called

default   23:05:11.430829 +0300   kernel   ACPIBatteryManager: pollingTimeOut called

default   23:05:11.430865 +0300   kernel   ACPIBatteryManager: pollBatteryState: path = 2
default   23:05:11.430870 +0300   kernel   ACPIBatteryManager: getBatterySTA called

default   23:05:11.431059 +0300   kernel   ACPIBatteryManager: setBatterySTA: battery_status = 0x1f
default   23:05:11.431067 +0300   kernel   ACPIBatteryManager: getBatteryBIF called

default   23:05:11.431093 +0300   kernel   ACPIBatteryManager: validateObject return 0x0
default   23:05:11.439079 +0300   kernel   ACPIBatteryManager: setBatteryBIF: acpibat_bif size = 13
default   23:05:11.439094 +0300   kernel   ACPIBatteryManager: fPowerUnit       = 0x1
default   23:05:11.439096 +0300   kernel   ACPIBatteryManager: fDesignCapacityRaw  = 9300
default   23:05:11.439099 +0300   kernel   ACPIBatteryManager: fMaxCapacityRaw     = 7517
default   23:05:11.439101 +0300   kernel   ACPIBatteryManager: fBatteryTech     = 0x1
default   23:05:11.439103 +0300   kernel   ACPIBatteryManager: fDesignVoltage   = 11100
default   23:05:11.439106 +0300   kernel   ACPIBatteryManager: fCapacityWarningRaw = 751
default   23:05:11.439108 +0300   kernel   ACPIBatteryManager: fLowWarningRaw      = 0
default   23:05:11.439111 +0300   kernel   ACPIBatteryManager: fDeviceName      = ''
default   23:05:11.439113 +0300   kernel   ACPIBatteryManager: fSerialNumber    = ''
default   23:05:11.439115 +0300   kernel   ACPIBatteryManager: fType            = 'Lion'
default   23:05:11.439118 +0300   kernel   ACPIBatteryManager: fManufacturer    = 'Sony Corporation'
default   23:05:11.439129 +0300   kernel   ACPIBatteryManager: setBatterySerialNumber called

default   23:05:11.439136 +0300   kernel   ACPIBatteryManager: getBatteryBST called

default   23:05:11.443233 +0300   kernel   ACPIBatteryManager: setBatteryBST: acpibat_bst size = 4
default   23:05:11.443241 +0300   kernel   ACPIBatteryManager: fPowerUnit       = 0x1
default   23:05:11.443243 +0300   kernel   ACPIBatteryManager: currentStatus    = 0x1
default   23:05:11.443245 +0300   kernel   ACPIBatteryManager: fCurrentRate     = 940
default   23:05:11.443247 +0300   kernel   ACPIBatteryManager: fCurrentCapacity = 7159
default   23:05:11.443249 +0300   kernel   ACPIBatteryManager: fCurrentVoltage  = 12260
default   23:05:11.443251 +0300   kernel   ACPIBatteryManager: fAverageRate = 990
default   23:05:11.443261 +0300   kernel   ACPIBatteryManager: AppleSmartBattery: Battery is discharging.

default   23:05:11.443267 +0300   kernel   ACPIBatteryManager: rebuildLegacyIOBatteryInfo called

I am attaching My Clover files with DROPOEM=true as well.
 

Attachments

  • CLOVER.zip
    2.5 MB · Views: 96
I again confronted with same problem couple of minutes ago. This time interestingly, sound card is also not detected. Upon restart everything went back to normal. Here is the log from ACPIBatteryManager.kext
Code:
default   23:03:11.377549 +0300   kernel   ACPIBatteryManager: pollingTimeOut called

default   23:03:11.377587 +0300   kernel   ACPIBatteryManager: pollBatteryState: path = 2
default   23:03:11.377592 +0300   kernel   ACPIBatteryManager: getBatterySTA called

default   23:03:11.377774 +0300   kernel   ACPIBatteryManager: setBatterySTA: battery_status = 0x1f
default   23:03:11.377782 +0300   kernel   ACPIBatteryManager: getBatteryBIF called

default   23:03:11.377805 +0300   kernel   ACPIBatteryManager: validateObject return 0x0
default   23:03:11.386057 +0300   kernel   ACPIBatteryManager: setBatteryBIF: acpibat_bif size = 13
default   23:03:11.386069 +0300   kernel   ACPIBatteryManager: fPowerUnit       = 0x1
default   23:03:11.386071 +0300   kernel   ACPIBatteryManager: fDesignCapacityRaw  = 9300
default   23:03:11.386074 +0300   kernel   ACPIBatteryManager: fMaxCapacityRaw     = 7517
default   23:03:11.386076 +0300   kernel   ACPIBatteryManager: fBatteryTech     = 0x1
default   23:03:11.386078 +0300   kernel   ACPIBatteryManager: fDesignVoltage   = 11100
default   23:03:11.386086 +0300   kernel   ACPIBatteryManager: fCapacityWarningRaw = -1
default   23:03:11.386090 +0300   kernel   ACPIBatteryManager: fLowWarningRaw      = 0
default   23:03:11.386092 +0300   kernel   ACPIBatteryManager: fDeviceName      = ''
default   23:03:11.386095 +0300   kernel   ACPIBatteryManager: fSerialNumber    = ''
default   23:03:11.386097 +0300   kernel   ACPIBatteryManager: fType            = 'Lion'
default   23:03:11.386100 +0300   kernel   ACPIBatteryManager: fManufacturer    = 'Sony Corporation'
default   23:03:11.386108 +0300   kernel   ACPIBatteryManager: setBatterySerialNumber called

default   23:03:11.386115 +0300   kernel   ACPIBatteryManager: getBatteryBST called

default   23:03:11.390271 +0300   kernel   ACPIBatteryManager: setBatteryBST: acpibat_bst size = 4
default   23:03:11.390281 +0300   kernel   ACPIBatteryManager: fPowerUnit       = 0x1
default   23:03:11.390283 +0300   kernel   ACPIBatteryManager: currentStatus    = 0x1
default   23:03:11.390285 +0300   kernel   ACPIBatteryManager: fCurrentRate     = 2115
default   23:03:11.390287 +0300   kernel   ACPIBatteryManager: fCurrentCapacity = 7218
default   23:03:11.390289 +0300   kernel   ACPIBatteryManager: fCurrentVoltage  = 12173
default   23:03:11.390291 +0300   kernel   ACPIBatteryManager: fAverageRate = 1058
default   23:03:11.390301 +0300   kernel   ACPIBatteryManager: AppleSmartBattery: Battery is discharging.

default   23:03:11.390308 +0300   kernel   ACPIBatteryManager: rebuildLegacyIOBatteryInfo called

default   23:03:41.391428 +0300   kernel   ACPIBatteryManager: pollingTimeOut called

default   23:03:41.391475 +0300   kernel   ACPIBatteryManager: pollBatteryState: path = 2
default   23:03:41.391488 +0300   kernel   ACPIBatteryManager: getBatterySTA called

default   23:03:41.391760 +0300   kernel   ACPIBatteryManager: setBatterySTA: battery_status = 0x1f
default   23:03:41.391768 +0300   kernel   ACPIBatteryManager: getBatteryBIF called

default   23:03:41.391781 +0300   kernel   ACPIBatteryManager: validateObject return 0x0
default   23:03:41.399383 +0300   kernel   ACPIBatteryManager: setBatteryBIF: acpibat_bif size = 13
default   23:03:41.399396 +0300   kernel   ACPIBatteryManager: fPowerUnit       = 0x1
default   23:03:41.399398 +0300   kernel   ACPIBatteryManager: fDesignCapacityRaw  = 9300
default   23:03:41.399401 +0300   kernel   ACPIBatteryManager: fMaxCapacityRaw     = 7517
default   23:03:41.399403 +0300   kernel   ACPIBatteryManager: fBatteryTech     = 0x1
default   23:03:41.399405 +0300   kernel   ACPIBatteryManager: fDesignVoltage   = 11100
default   23:03:41.399408 +0300   kernel   ACPIBatteryManager: fCapacityWarningRaw = 751
default   23:03:41.399410 +0300   kernel   ACPIBatteryManager: fLowWarningRaw      = 0
default   23:03:41.399413 +0300   kernel   ACPIBatteryManager: fDeviceName      = ''
default   23:03:41.399415 +0300   kernel   ACPIBatteryManager: fSerialNumber    = ''
default   23:03:41.399418 +0300   kernel   ACPIBatteryManager: fType            = 'Lion'
default   23:03:41.399420 +0300   kernel   ACPIBatteryManager: fManufacturer    = 'Sony Corporation'
default   23:03:41.399428 +0300   kernel   ACPIBatteryManager: setBatterySerialNumber called

default   23:03:41.399435 +0300   kernel   ACPIBatteryManager: getBatteryBST called

default   23:03:41.403853 +0300   kernel   ACPIBatteryManager: setBatteryBST: acpibat_bst size = 4
default   23:03:41.403861 +0300   kernel   ACPIBatteryManager: fPowerUnit       = 0x1
default   23:03:41.403863 +0300   kernel   ACPIBatteryManager: currentStatus    = 0x1
default   23:03:41.403865 +0300   kernel   ACPIBatteryManager: fCurrentRate     = 1207
default   23:03:41.403867 +0300   kernel   ACPIBatteryManager: fCurrentCapacity = 7189
default   23:03:41.403869 +0300   kernel   ACPIBatteryManager: fCurrentVoltage  = 12208
default   23:03:41.403872 +0300   kernel   ACPIBatteryManager: fAverageRate = 1132
default   23:03:41.403881 +0300   kernel   ACPIBatteryManager: AppleSmartBattery: Battery is discharging.

default   23:03:41.403886 +0300   kernel   ACPIBatteryManager: rebuildLegacyIOBatteryInfo called

default   23:04:11.404593 +0300   kernel   ACPIBatteryManager: pollingTimeOut called

default   23:04:11.404627 +0300   kernel   ACPIBatteryManager: pollBatteryState: path = 2
default   23:04:11.404634 +0300   kernel   ACPIBatteryManager: getBatterySTA called

default   23:04:11.404871 +0300   kernel   ACPIBatteryManager: setBatterySTA: battery_status = 0x1f
default   23:04:11.404892 +0300   kernel   ACPIBatteryManager: getBatteryBIF called

default   23:04:11.404907 +0300   kernel   ACPIBatteryManager: validateObject return 0x0
default   23:04:11.412674 +0300   kernel   ACPIBatteryManager: setBatteryBIF: acpibat_bif size = 13
default   23:04:11.412687 +0300   kernel   ACPIBatteryManager: fPowerUnit       = 0x1
default   23:04:11.412690 +0300   kernel   ACPIBatteryManager: fDesignCapacityRaw  = 9300
default   23:04:11.412692 +0300   kernel   ACPIBatteryManager: fMaxCapacityRaw     = 7517
default   23:04:11.412694 +0300   kernel   ACPIBatteryManager: fBatteryTech     = 0x1
default   23:04:11.412697 +0300   kernel   ACPIBatteryManager: fDesignVoltage   = 11100
default   23:04:11.412699 +0300   kernel   ACPIBatteryManager: fCapacityWarningRaw = 751
default   23:04:11.412701 +0300   kernel   ACPIBatteryManager: fLowWarningRaw      = 0
default   23:04:11.412704 +0300   kernel   ACPIBatteryManager: fDeviceName      = ''
default   23:04:11.412706 +0300   kernel   ACPIBatteryManager: fSerialNumber    = ''
default   23:04:11.412709 +0300   kernel   ACPIBatteryManager: fType            = 'Lion'
default   23:04:11.412712 +0300   kernel   ACPIBatteryManager: fManufacturer    = 'Sony Corporation'
default   23:04:11.412720 +0300   kernel   ACPIBatteryManager: setBatterySerialNumber called

default   23:04:11.412728 +0300   kernel   ACPIBatteryManager: getBatteryBST called

default   23:04:11.417189 +0300   kernel   ACPIBatteryManager: setBatteryBST: acpibat_bst size = 4
default   23:04:11.417198 +0300   kernel   ACPIBatteryManager: fPowerUnit       = 0x1
default   23:04:11.417206 +0300   kernel   ACPIBatteryManager: currentStatus    = 0x1
default   23:04:11.417208 +0300   kernel   ACPIBatteryManager: fCurrentRate     = 991
default   23:04:11.417210 +0300   kernel   ACPIBatteryManager: fCurrentCapacity = 7187
default   23:04:11.417212 +0300   kernel   ACPIBatteryManager: fCurrentVoltage  = 12269
default   23:04:11.417215 +0300   kernel   ACPIBatteryManager: fAverageRate = 1061
default   23:04:11.417229 +0300   kernel   ACPIBatteryManager: AppleSmartBattery: Battery is discharging.

default   23:04:11.417239 +0300   kernel   ACPIBatteryManager: rebuildLegacyIOBatteryInfo called

default   23:04:41.417614 +0300   kernel   ACPIBatteryManager: pollingTimeOut called

default   23:04:41.417655 +0300   kernel   ACPIBatteryManager: pollBatteryState: path = 2
default   23:04:41.417658 +0300   kernel   ACPIBatteryManager: getBatterySTA called

default   23:04:41.417772 +0300   kernel   ACPIBatteryManager: setBatterySTA: battery_status = 0x1f
default   23:04:41.417778 +0300   kernel   ACPIBatteryManager: getBatteryBIF called

default   23:04:41.417787 +0300   kernel   ACPIBatteryManager: validateObject return 0x0
default   23:04:41.425686 +0300   kernel   ACPIBatteryManager: setBatteryBIF: acpibat_bif size = 13
default   23:04:41.425702 +0300   kernel   ACPIBatteryManager: fPowerUnit       = 0x1
default   23:04:41.425706 +0300   kernel   ACPIBatteryManager: fDesignCapacityRaw  = 9300
default   23:04:41.425709 +0300   kernel   ACPIBatteryManager: fMaxCapacityRaw     = 7517
default   23:04:41.425713 +0300   kernel   ACPIBatteryManager: fBatteryTech     = 0x1
default   23:04:41.425716 +0300   kernel   ACPIBatteryManager: fDesignVoltage   = 11100
default   23:04:41.425719 +0300   kernel   ACPIBatteryManager: fCapacityWarningRaw = 751
default   23:04:41.425722 +0300   kernel   ACPIBatteryManager: fLowWarningRaw      = 0
default   23:04:41.425726 +0300   kernel   ACPIBatteryManager: fDeviceName      = ''
default   23:04:41.425729 +0300   kernel   ACPIBatteryManager: fSerialNumber    = ''
default   23:04:41.425732 +0300   kernel   ACPIBatteryManager: fType            = 'Lion'
default   23:04:41.425735 +0300   kernel   ACPIBatteryManager: fManufacturer    = 'Sony Corporation'
default   23:04:41.425744 +0300   kernel   ACPIBatteryManager: setBatterySerialNumber called

default   23:04:41.425754 +0300   kernel   ACPIBatteryManager: getBatteryBST called

default   23:04:41.429711 +0300   kernel   ACPIBatteryManager: setBatteryBST: acpibat_bst size = 4
default   23:04:41.429719 +0300   kernel   ACPIBatteryManager: fPowerUnit       = 0x1
default   23:04:41.429721 +0300   kernel   ACPIBatteryManager: currentStatus    = 0x1
default   23:04:41.429723 +0300   kernel   ACPIBatteryManager: fCurrentRate     = 1021
default   23:04:41.429724 +0300   kernel   ACPIBatteryManager: fCurrentCapacity = 7171
default   23:04:41.429726 +0300   kernel   ACPIBatteryManager: fCurrentVoltage  = 12245
default   23:04:41.429728 +0300   kernel   ACPIBatteryManager: fAverageRate = 1041
default   23:04:41.429737 +0300   kernel   ACPIBatteryManager: AppleSmartBattery: Battery is discharging.

default   23:04:41.429743 +0300   kernel   ACPIBatteryManager: rebuildLegacyIOBatteryInfo called

default   23:05:11.430829 +0300   kernel   ACPIBatteryManager: pollingTimeOut called

default   23:05:11.430865 +0300   kernel   ACPIBatteryManager: pollBatteryState: path = 2
default   23:05:11.430870 +0300   kernel   ACPIBatteryManager: getBatterySTA called

default   23:05:11.431059 +0300   kernel   ACPIBatteryManager: setBatterySTA: battery_status = 0x1f
default   23:05:11.431067 +0300   kernel   ACPIBatteryManager: getBatteryBIF called

default   23:05:11.431093 +0300   kernel   ACPIBatteryManager: validateObject return 0x0
default   23:05:11.439079 +0300   kernel   ACPIBatteryManager: setBatteryBIF: acpibat_bif size = 13
default   23:05:11.439094 +0300   kernel   ACPIBatteryManager: fPowerUnit       = 0x1
default   23:05:11.439096 +0300   kernel   ACPIBatteryManager: fDesignCapacityRaw  = 9300
default   23:05:11.439099 +0300   kernel   ACPIBatteryManager: fMaxCapacityRaw     = 7517
default   23:05:11.439101 +0300   kernel   ACPIBatteryManager: fBatteryTech     = 0x1
default   23:05:11.439103 +0300   kernel   ACPIBatteryManager: fDesignVoltage   = 11100
default   23:05:11.439106 +0300   kernel   ACPIBatteryManager: fCapacityWarningRaw = 751
default   23:05:11.439108 +0300   kernel   ACPIBatteryManager: fLowWarningRaw      = 0
default   23:05:11.439111 +0300   kernel   ACPIBatteryManager: fDeviceName      = ''
default   23:05:11.439113 +0300   kernel   ACPIBatteryManager: fSerialNumber    = ''
default   23:05:11.439115 +0300   kernel   ACPIBatteryManager: fType            = 'Lion'
default   23:05:11.439118 +0300   kernel   ACPIBatteryManager: fManufacturer    = 'Sony Corporation'
default   23:05:11.439129 +0300   kernel   ACPIBatteryManager: setBatterySerialNumber called

default   23:05:11.439136 +0300   kernel   ACPIBatteryManager: getBatteryBST called

default   23:05:11.443233 +0300   kernel   ACPIBatteryManager: setBatteryBST: acpibat_bst size = 4
default   23:05:11.443241 +0300   kernel   ACPIBatteryManager: fPowerUnit       = 0x1
default   23:05:11.443243 +0300   kernel   ACPIBatteryManager: currentStatus    = 0x1
default   23:05:11.443245 +0300   kernel   ACPIBatteryManager: fCurrentRate     = 940
default   23:05:11.443247 +0300   kernel   ACPIBatteryManager: fCurrentCapacity = 7159
default   23:05:11.443249 +0300   kernel   ACPIBatteryManager: fCurrentVoltage  = 12260
default   23:05:11.443251 +0300   kernel   ACPIBatteryManager: fAverageRate = 990
default   23:05:11.443261 +0300   kernel   ACPIBatteryManager: AppleSmartBattery: Battery is discharging.

default   23:05:11.443267 +0300   kernel   ACPIBatteryManager: rebuildLegacyIOBatteryInfo called

I am attaching My Clover files with DROPOEM=true as well.

It appears you're getting an invalid "warning capacity" the first time through...
fCapacityWarningRaw = -1
 
It appears you're getting an invalid "warning capacity" the first time through...
fCapacityWarningRaw = -1
I also noticed this. However subsequent calls gives correct fCapacityWarningRaw. However, battery bar doesn't update itself. I also tried System Preferences/Energy Saver and clicked "Show battery status in menu bar" to enable and disable the bar but it didn't make any change.

Is there any way to fix this issue? Why restarting fixes this issue? It is like it is resetting something upon restart.
 
I also noticed this. However subsequent calls gives correct fCapacityWarningRaw.

Yes. But first result is bad. You need to investigate.
 
Yes. But first result is bad. You need to investigate.
How can I investigate it? Only option I can think of is, compile Battery kext and ignore -1 for fCapacityWarningRaw and change with some appropriate value. I also noted this https://github.com/st3fan/osx-10.9/...20.1.20/pmconfigd/BatteryTimeRemaining.c#L460 It says that

Code:
// Warning level may only increase.
// Once we enter a >1 warning level, we can only reset it by
// (1) having AC power re-applied, or (2) hibernating
// and waking with a new battery.
//
// This prevents fluctuations in battery capacity from causing
// multiple battery warnings.

Is it possible to change warning level from the kext? So that next correct values will update the bar?
 
How can I investigate it? Only option I can think of is, compile Battery kext and ignore -1 for fCapacityWarningRaw and change with some appropriate value. I also noted this https://github.com/st3fan/osx-10.9/...20.1.20/pmconfigd/BatteryTimeRemaining.c#L460 It says that

Code:
// Warning level may only increase.
// Once we enter a >1 warning level, we can only reset it by
// (1) having AC power re-applied, or (2) hibernating
// and waking with a new battery.
//
// This prevents fluctuations in battery capacity from causing
// multiple battery warnings.

Is it possible to change warning level from the kext? So that next correct values will update the bar?

Maybe you should change the StartupDelay. It can be done with ACPI. Look at SSDT-ACPIBATT.dsl in the ACPIBatteryManager repo.

Or you can fix your DSDT.
You can use ACPIDebug.kext to debug the internals of your DSDT battery methods.
 
I have tried many things and still couldn't solve it. I also tried to change StartupDelay of kext but it didn't cause any change. What I observe that this only happens after a cold boot. After I restart everything goes back to normal. It is like there is a difference between cold boot and restart. How can I debug this issue? Where should I look for differences in terms of cold boot and restart? I have attached my new clover folder which also has several other fixes that I saw on other Sony S Series threads. I have pushed all the patches I used to my github repo at https://github.com/tosbaha/Sony-SA-DSDT-Patches I will really appreciate if you can help me to fix this issue. Thanks.
 

Attachments

  • CLOVER.zip
    2.5 MB · Views: 108
I have tried many things and still couldn't solve it. I also tried to change StartupDelay of kext but it didn't cause any change. What I observe that this only happens after a cold boot. After I restart everything goes back to normal. It is like there is a difference between cold boot and restart. How can I debug this issue? Where should I look for differences in terms of cold boot and restart? I have attached my new clover folder which also has several other fixes that I saw on other Sony S Series threads. I have pushed all the patches I used to my github repo at https://github.com/tosbaha/Sony-SA-DSDT-Patches I will really appreciate if you can help me to fix this issue. Thanks.

Read FAQ, "Problem Reporting".
http://www.tonymacx86.com/el-capita...faq-read-first-laptop-frequent-questions.html

(I want to see if you changed StartupDelay correctly and what you changed it to).
 
Read FAQ, "Problem Reporting".
http://www.tonymacx86.com/el-capita...faq-read-first-laptop-frequent-questions.html

(I want to see if you changed StartupDelay correctly and what you changed it to).

Here is the command outputs
Code:
   13    2 0xffffff7f82b58000 0x66000    0x66000    com.apple.driver.AppleACPIPlatform (5.0) 867C81BE-EA01-3A65-89F4-06D78E6514CA <12 11 7 6 5 4 3 1>
Mustafas-MacBook-Pro:~ mustafa$ kextstat|grep -y appleintelcpu
   24    0 0xffffff7f82764000 0x2b000    0x2b000    com.apple.driver.AppleIntelCPUPowerManagement (219.0.0) 9E383328-0713-3AD3-BC4A-3A2A5646FEE5 <7 6 5 4 3 1>
   33    0 0xffffff7f8275f000 0x3000     0x3000     com.apple.driver.AppleIntelCPUPowerManagementClient (219.0.0) B802638B-251C-3602-BA8C-001F87228765 <7 6 5 4 3 1>
Mustafas-MacBook-Pro:~ mustafa$ kextstat|grep -y applelpc
   93    0 0xffffff7f825cb000 0x3000     0x3000     com.apple.driver.AppleLPC (3.1) F51595F0-F9B1-3B85-A1C3-F984DAD4107E <89 12 5 4 3>
Mustafas-MacBook-Pro:~ mustafa$  sudo touch /System/Library/Extensions && sudo kextcache -u /
Password:
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext GenericUSBXHCI.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext EAPDFix.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext BluetoothDevQAtherosInjector.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext BTFirmwareUploader.kext
kext-dev-mode allowing invalid signature -67013 0xFFFFFFFFFFFEFA3B for kext AppleMobileDevice.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ACPIBatteryManager.kext
KernelCache ID: C7520442A308F217EC93D279984DD69D
symlink("/System/Library/PrelinkedKernels/prelinkedkernel", "/System/Library/Caches/com.apple.kext.caches/Startup/kernelcache") failed 17 (File exists) <createPrelinkedKernel 2795>
Mustafas-MacBook-Pro:~ mustafa$

I tried to change the delay both with kext editing like in my previous post, also tried to use SSDT-ACPIBATT.dsl from your repo. I have changed BAT1 to BATC and changed StartupDelay to 50. Changed clover config to load it after SSDT-BATC.aml Again no difference. Attached files has IoRegistryExplorer file and my Clover folder.
 

Attachments

  • Archive.zip
    3 MB · Views: 90
Here is the command outputs
Code:
   13    2 0xffffff7f82b58000 0x66000    0x66000    com.apple.driver.AppleACPIPlatform (5.0) 867C81BE-EA01-3A65-89F4-06D78E6514CA <12 11 7 6 5 4 3 1>
Mustafas-MacBook-Pro:~ mustafa$ kextstat|grep -y appleintelcpu
   24    0 0xffffff7f82764000 0x2b000    0x2b000    com.apple.driver.AppleIntelCPUPowerManagement (219.0.0) 9E383328-0713-3AD3-BC4A-3A2A5646FEE5 <7 6 5 4 3 1>
   33    0 0xffffff7f8275f000 0x3000     0x3000     com.apple.driver.AppleIntelCPUPowerManagementClient (219.0.0) B802638B-251C-3602-BA8C-001F87228765 <7 6 5 4 3 1>
Mustafas-MacBook-Pro:~ mustafa$ kextstat|grep -y applelpc
   93    0 0xffffff7f825cb000 0x3000     0x3000     com.apple.driver.AppleLPC (3.1) F51595F0-F9B1-3B85-A1C3-F984DAD4107E <89 12 5 4 3>
Mustafas-MacBook-Pro:~ mustafa$  sudo touch /System/Library/Extensions && sudo kextcache -u /
Password:
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext GenericUSBXHCI.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext EAPDFix.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext BluetoothDevQAtherosInjector.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext BTFirmwareUploader.kext
kext-dev-mode allowing invalid signature -67013 0xFFFFFFFFFFFEFA3B for kext AppleMobileDevice.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ACPIBatteryManager.kext
KernelCache ID: C7520442A308F217EC93D279984DD69D
symlink("/System/Library/PrelinkedKernels/prelinkedkernel", "/System/Library/Caches/com.apple.kext.caches/Startup/kernelcache") failed 17 (File exists) <createPrelinkedKernel 2795>
Mustafas-MacBook-Pro:~ mustafa$

I tried to change the delay both with kext editing like in my previous post, also tried to use SSDT-ACPIBATT.dsl from your repo. I have changed BAT1 to BATC and changed StartupDelay to 50. Changed clover config to load it after SSDT-BATC.aml Again no difference. Attached files has IoRegistryExplorer file and my Clover folder.

The path you have in SSDT-ACPIBATT is wrong.
Your BATC is at _SB.PCI0.LPCB.H_EC.BATC, not _SB.BATC.
 
Status
Not open for further replies.
Back
Top