This varies by device and usage, but a good rule of thumb is every 2 to 3 years for smartphones and laptops. If you notice your device isn't holding a charge as well as it used to, it might be time for a new battery.