IPhone 4s randomly shuts off?

I've had my phone for almost a year. Every morning I have to power on/off because my dock station causes a glitch on my phone to where the sound level is always full and the icon never goes away. I don't know if this has anything to do with it, but whatever.
Anyways, my phone is always shut off but if I press the Sleep button a thousand times the home screen will appear but after I use my phone for a bit, it shuts off again.
What is causing this? Can I fix this with an easier way than a restore?
Or do I have to get a new phone entirely… Because it's happening more and more often.

Do you have auto lock turned on? That happened to me & my sis told me that auto lock was on and to go to setting and I caould turn it off. If that's not the case, I'm not sure.

Stop using the dock station and charge it using the provided cable. The dock station is breaking your phone.

The sleep mode is active

  • What do I do when my iPhone 4 completely shuts off? I've tried charging it but that didn't work. It won't turn on at all. Please help! Yes, I have left it charging over night, is that bad?
  • My iPhone randomly shuts off? I have an iPhone 6 and lately it has been resetting on its own. I will just be texting someone or on Instagram or something like that and it will just go to the white screen with the apple sign on it as if my phone is turning on. It stays like that for about ten seconds and then goes to the lock screen. Why is this happening and is it a problem? My iPad mini also does this.
  • My Iphone keeps shutting off, but before it shuts off, my screen freezes and there's these lines that show up, they're random? My Iphone keeps shutting off, but before it shuts off, my screen freezes and there's these lines that show up, they're random. Sometimes there's this crackling sound, and sometimes the line move, my mom says its just the phone, but my dad says, its the proccecor and that its overheated, i have an Iphone SE rose gold 64 gb and my iOS is 12.3.1
  • My iPhone 4S shuts down randomly? I just got an iPhone 4S and I will charge it full but somehow I loose battery so fast and then when it's about 50% it just shuts down randomly I checked for updates it's said I have the latest update does this mean I have to restore my iPhone?