can you help me with a dubm questions. i have a laptop and my batter is not charging well. lately i've been getting this balloon popup on my windows xp computer it says:

Critical Battery:
you should change your battery or switch to outlet power immediately to keep from losing your work

how can i troubleshoot something like this?