I am using Dell Inspiron. Its really wierd that my laptop kept shutting down on its own on windows 8.1 but works completely fine on windows 7. This is not a overheating issue as my fan is fine. I clean it ocassionaly with a can of compressed air.
Also, when I booted in windows 7 this was the error I got on my taskbar: There is a problem with your battery so computer might shutdown suddenly.
If that is the case then why Windows 8.1 cant take it and 7 can?
I also Googled about possible reasons so I tried removing the battery for sometime & charging it but laptop shutdown anyway.