Replacing battery every year is a good practice, some computers give problem like this when RAM stops working or need to be reset for this first take out the RAM from the slot give it a rest (make sure don`t touch the shining surface of the RAM) leave it untouched for 10-15min there is little charge in it this duration will help to release that charge and then reinstall it back to the slot one by one may be one of them stops working install one and restart check if its working then install the second.
Open the access panel
Use the following steps to open the case:
WARNING:The edges of metal panels can cut skin. Be careful not to slide skin along any interior metal edge of the computer.
CAUTION:This product contains components that can be damaged by electrostatic discharge (ESD). To reduce the chance of ESD damage, work over a noncarpeted floor, use a static dissipative work surface (such as a conductive foam pad), and wear an ESD wrist strap connected to a grounded surface.
NOTE:If you need product model specific graphics and instructions for opening the PC, search for a support article that specifically pertains to your computer. In the Search field (or Questions or keywords field) at the top of this page, type your computer model number, a space, and the words "opening the case."
1. Turn off the computer and unplug all cables, except for power, and write down each cable location.
2. Unplug the power cable and press the Power button.
3. If possible, move the computer to a clear, flat, stable work surface over an uncarpeted floor.
4. Remove the panel retaining screws
5. Slide off the panel to expose the inside of the computer.
6. If opening the case is difficult, search for a support article that specifically pertains to your computer. In the Search field (or Questions or keywords field) at the top of this page, type your computer model number , a space, and the words "opening the case ."
Determine if memory needs to be removed
Use the following steps to locate the memory sockets:
Look inside the computer and locate the memory modules on the motherboard. Memory modules are long thin boards, short in height, that stick up from the motherboard at a 90 degree angle.
Use the following steps to remove a memory or continuity module:
-Pull out, and then press down on the holding clips that retain the memory modules. The memory modules should rise up slightly out the socket.
-Pull out the memory or continuity module (for RIMMs) and place it in a static-safe container.
When inserting a memory module into an empty socket.
Push straight down on top ends of the memory module until the memory module is fully seated in the socket. The retaining clips on the ends of the socket lock into place when properly seated.
and you are good to go
Good Luck!!!