Chosen Solution
I just bought my Nikon and after a couple weeks of using it, I tried to turn it on again and it won’t come on. I already tried buying a new battery. Sometimes when I turn it on a sing legreen flash from an indicator in the bottom right of he camera will come on but nothing happens.
you’ve just bought a new battery so we will rule that out assuming its a genuine Nikon battery and not some cheap 3rd party copy. the first thing to do is give the battery compartment a good clean, making sure there is no dust, debris or corrosion preventing a proper contact with the battery. Next you’ll need to open up you camera and check the connections between the battery and motherboard are good. you can follow this guide to open up your camera Nikon D5100 Motherboard Replacement