Chances are, you plug in your phone before you go to bed at night, thinking it's best to greet the morning with a fully charged device.
Is this a good idea? That depends.
Here's the thing. Many people don't expect to keep their phones for much longer than two years.
For the most part, experts say, those people are not going to notice much damage to their phone batteries before they start hankering for a new device.
If that sounds like you, feel free to charge every night, and as often as you like in between.
But frequent charging takes a toll on the lithium-ion batteries in our phones.
And it's not because they can be overcharged, said Edo Campos, a spokesman for Anker, which produces phone chargers.
"Smartphones are, in fact, smart," Mr. Campos said. "They know when to stop charging."
Android phones and iPhones are equipped with chips that protect them from absorbing excess electrical current once they are fully charged.
So in theory, any damage from charging your phone overnight with an official charger, or a trustworthy off-brand charger, should be negligible.
But the act of charging is itself bad for your phone's battery. Here's why.
Most phones make use of a technology that allows their batteries to accept more current faster.
Hatem Zeine, the founder, chief scientist and chief technical officer of the wireless charging company Ossia, says the technology enables phones to adjust to the amount of charge that a charger is capable of supplying.
The technology allows power to pulse into the battery in specific modulations, increasing the speed at which the lithium ions in the battery travel from one side to the other and causing the battery to charge more quickly.
But this process also leads lithium-ion (and lithium-polymer) batteries to corrode faster than they otherwise would.
"When you charge fast all the time, you limit the life span of the battery," Mr. Zeine said.
If you're intent on preserving a lithium-ion battery beyond the lifetime of the typical phone or tablet, Mr. Zeine suggested using a charger meant for a less powerful device, though he couldn't guarantee that it would work.
"For example, if you used an iPhone charger on an iPad Pro, it's going to charge very slowly," Mr. Zeine said. "If the electronics are right, they can actually preserve the battery because you're always charging it slowly."
People looking to preserve their batteries should make sure their phones don't become overheated, Mr. Campos advised, because high temperatures further excite the lithium-ion in batteries, leading to even quicker deterioration.
Apple's website says temperatures above 95 degrees Fahrenheit (or 35 Celsius) can "permanently damage battery capacity."