Alerts for the optimal time to plug in your MacBook