This laptop had a problem with its AC connector in the back…the pins were bent and not contacting properly. I found a website that detailed how to disassemble a M5312 e-machine laptop (with pictures!) so I took it apart and tweaked the connection. It actually worked.
Here is the website: http://dexplor.com/phpBB2/viewtopic.php?t=691&highlight=apart