You should leave your laptop battery charge within 40 to 80 percent, but frequent charge cycles can affect your battery's lifespan. However you plan on charging your system, the battery will still drop in performance and wear out eventually. Despite that, you shouldn’t plug in your laptop overnight and sleep off; it will only bring the service life closer. You should always practice things that would elongate your battery’s lifespan.