These days, the best laptops come with impressive battery life. But if you’re using demanding software or opening a lot of browser tabs, they can still give up surprisingly quickly. And few things are more frustrating than a battery that dies just when you need it most.

Whether you’re working in a coffee shop, hosting a meeting in a room that’s short on power points, or bingeing a Netflix season on a long-haul flight, the ability to keep your device running can mean the difference between seizing an opportunity and missing it entirely. But the good news is, you can potentially extend your device’s runtime, by following a few simple tricks.