Xiashangning / BigSurface

A proposition for a fully intergrated kext for all Surface Pro hardwares
GNU General Public License v3.0
297 stars 23 forks source link

Battery not recognised in System Preference in Ventura #93

Closed Xiashangning closed 1 year ago

Xiashangning commented 1 year ago

In Ventura, without any changes made to the battery code, the battery failed to be recognised in System Preference.

However, macOS does seem to know that there is a battery present as it can show it correctly in the control center or menu bar.

Xiashangning commented 1 year ago

Don't know if normal laptop has this issue in Ventura or not. The battery code is almost exactly the same from SMCBatteryManager.

he1833 commented 1 year ago

Ordinary notebooks also have this problem, although I don't have ordinary books, I saw the same case of oil and our problem in the Vision Forum, and the general solution seems to be compiled with the latest ECEnabler.kext to resolve

Xiashangning commented 1 year ago

Thanks for your advice but ECEnabler won't help

he1833 commented 1 year ago

I succeeded and found a workaround by modifying the error identification in the FACP table in the form of an APCI patch so that he correctly identified the Surface as a laptop. Without patching, it is identified as the type of tablet, and it will not correctly match the battery (for laptops) or energy saving (for desktops) in the settings.

he1833 commented 1 year ago

1679790109557

Xiashangning commented 1 year ago

Yes, this patch works for me!

Thanks a lot, I will add it into the readme

LvxlongSir commented 4 months ago

try MacBook Air. sb shared sp7 with this model and it's okay with battary on ventura.