I can tell you that I left my device to charge continuously overnight or all the time and never noticed a Battery problem.
Should the phone, laptop be charged overnight or not?
The short answer to this is that you can charge your devices overnight as long as you use a charger with an automatic shutoff to avoid overcharging.
Virtually any brand name charger that comes with a factory device must have an automatic circuit breaker built-in and third-party chargers sold by reputable companies.
That being said, I advise you to avoid cheap “nameless” and “knockoff” chargers that are sold in nonspecific stores and many less reputable websites as they actually can—damage to the device’s battery (and worse).
The “nameless” charger is just that. They usually won’t have a brand name printed anywhere on the package or the chargers.
“Counterfeit” chargers are branded with names like Apple, Samsung, or Motorola, but third-party sellers usually sell them at low prices.
Many “unnamed” and “knockoff” chargers are poorly designed and sloppily built. Some have been known to not only damage batteries but also cause fire and electric shock. In Vietnam, there are often fake products originating from China.
As a general rule, you can always trust a charger if it came with the manufacturer’s device. And you can charge a third-party charger as long as it has an automatic shut-off and a reputable company sells it.