It sounds to me like the something is wrong with the power adapter and the computer is just going into standby or hibernation because the battery is low. Most computers will have a flashing light like what you have when the battery dies. Make sure all the plugs on the power cord are firmly in place. If you have an extra, try using that instead.