my mobile phone switches off on itself if i dont use it for sometime...like when i wake up in the morning its switched off...and during the day also it happens several times
that can happen if you try to charge it without the battery in. if thats not the problem, try getting a new battery. if hat doesnt work, you need to take it to a repair shop or get a new phone like an iphone which very rarely has battery issues.