What worked for me for a while: (1) Turn the laptop on with charger plugged in (or plug it after the next step) (2) Login to the OS (3) Close the laptop (4) Open it (5) Now, it should detect you have it plugged in It worked like a charm for a few weeks, now the battery doesn’t seem to work properly. But hopefully it may help someone.