My laptop keeps shutting down when I try to turn it on. It will always stay on until the XP's loading screen appears(the screen where there is a bar kinda thing that makes it look like its loading). It does turn on sometimes but after when it shuts off, I have to do random stupid things like move the power cord, take it out the power outlet and put it back in and then it will suddenly start working. My laptop is about 3 years old from HP and as far as I know, the charger and batteries are out dated.
The battery is completely dead and the charger wire is not broken anywhere. I don't get why this is happening.