Does your machine instantly power off....or run briefly then act as if the battery is discharged?
I am facing a similar situation on my HP laptop. The battery charged and worked perfectly under XP - the day I "upgraded" (cough cough) to Vista it no longer seemed to work correctly. I would say I used to get about 2 hours battery life and now get about 5 minutes (at best). The battery shows 100%, but discharges very quickly. I had a spare (new) battery and swapped it into the system...and it displayed the exact same behavior.
I was of the impression that I had somehow damaged the solder joints on the adapter's plug to the motherboard and was deciding to fix or replace. This is a very VERY common problem unfortunately...but it can be repaired.
Still, if you are seeing the same thing, it does beg the question that it may be something to do with the system not reading or using the battery correctly. That's certainly not what I initally thought....but I may test the theory over the weekend.
Interestingly I tried charging/running it in safe mode and it lasted much longer. I thought that was odd...but considered it perhaps a fluke at the time (maybe I had the cable just situated right and got a better connection/charge).
Another possibility si to charge a battery in a different system and see if it works/lasts longer. I don't have one available, so I haven't been able to try that. I also thought that perhaps using a dock connected to the AC adapter would work around the issue effectively.
Anyone have any thoughts on these ideas?