Battery dies after charger is used

I assume you mean the air compressor. Those things are usually a fairly high drain, I would use it while the engine is running. The output from your alternator may be weak as well, i would have it tested.