It is generally considered safe to use your laptop while charging, but some precautions might be worth taking. If you are using your computer primarily when plugged in, remove the battery after 50% charge and keep it at a cold temperature to extend its life span.