1982 240D or 2009 GTI. Answer inside.

It's the God damn VW again. I'm hoping it's just the battery this time. Battery light comes on followed quickly by rough running with a CEL and stalling. Battery reads 12.2v which is definitely on the low side. When cranking it dropped to 10.6, but alternator seems okay because once running I'm getting 14.5v. Tomorrow I'll get it tested and see what codes I can get off it.