At my wit's end

How's the charging system working?

You took the words right out of my mouth.
If it isn't charging, it's getting power from the battery, and if that's weak or low, the car will run progressively worse until it dies.