Most of the batteries are of Li-ion which means they can be charged to approximately 80% of their capacity. Now, fully discharging of the batteries is harmful to the batteries. So, the best way to keep your battery healthy is, charge it almost to 80% and then use it till 20% of the charge remains.