There could be many reasons why your car battery went flat. The most common reason is that you forgot a light or something similar in the car before leaving it. It can also be a problem with some electrical consumer that does not want to switch off when you turn off the ignition.