The Mac operating system comes with a reasonably solid battery backup. To prevent the battery-draining, Apple highly discourages the all-time plugged-in activity of their MacBooks. Additionally, the company suggests a regular monthly discharging plus charging check-up on the PC.