Check if it's a OEM battery. If it is not then that will be why it keeps going flat, unless it's faulty.
open