Hey there, finally catching up with things ... installing your latest releases and getting around with setting them up.
Stumbled upon a bug when comprising the serial number for system profile?
Code:
06.25.16 9:29:38.000 PM kernel[0]: ACPIBatteryManager: setBatteryBIF: acpibat_bif size = 13
06.25.16 9:29:38.000 PM kernel[0]: ACPIBatteryManager: fPowerUnit = 0x1
06.25.16 9:29:38.000 PM kernel[0]: ACPIBatteryManager: fDesignCapacityRaw = 6200
06.25.16 9:29:38.000 PM kernel[0]: ACPIBatteryManager: fMaxCapacityRaw = 4522
06.25.16 9:29:38.000 PM kernel[0]: ACPIBatteryManager: fBatteryTech = 0x0
06.25.16 9:29:38.000 PM kernel[0]: ACPIBatteryManager: fDesignVoltage = 10800
06.25.16 9:29:38.000 PM kernel[0]: ACPIBatteryManager: fCapacityWarningRaw = 452
06.25.16 9:29:38.000 PM kernel[0]: ACPIBatteryManager: fLowWarningRaw = 0
06.25.16 9:29:38.000 PM kernel[0]: ACPIBatteryManager: fDeviceName = 'Dell'
06.25.16 9:29:38.000 PM kernel[0]: ACPIBatteryManager: fSerialNumber = '1950'
06.25.16 9:29:38.000 PM kernel[0]: ACPIBatteryManager: fType = 'LION'
06.25.16 9:29:38.000 PM kernel[0]: ACPIBatteryManager: fManufacturer = 'SANYO'
IOService:/AppleACPIPlatformExpert/BAT0/AppleSmartBatteryManager/AppleSmartBattery
On this unit, ACPI only utilizes BIF (extended and extra flags are set to n in config). The serial number and device name are correctly reported here whens setting BIF and so is the manufacturer, however when you look at what has been result of constructAppleSerialNumber - things don't seem quite right. When calling setSerialNumber from setBatteryBIF, number is present as you can see from debug above. As FirmwareSerialNumber is presented as 0x1950 in IOReg, _SerialNumberSym can't be empty and therefore should return a valid numeric value to the calling method?
It used to show up OK with 1.55 I was using previously...