You aren't supposed to fully discharge lithium ion batteries, this kills them. You are better off leaving it plugged in all the time, and making sure to cycle it a couple times a month, a cycle could be draining it 50% one day, then 50% another day.
HP batteries are junk, but you probably helped it die.