My power button broke on my Iphone?

I changed my settings so that I have that little button on my screen that allows me to lock the screen but I still would like to get the actual key fixed. I have only had my phone since august. Will this repair cost money? Or is it covered under some sort of warranty?

The repair on my iPhone 4 2 weeks ago for that cost me $65 through a Craigslist phone fixer. If you go to a store they will charge you like $80! But you should go to apple and see if they will do anything for you! I didn't because my phone was out of warranty:/

  • Power button and home button doesn't work on iPhone 5C? Hi, so a while ago I dropped my phone in water, I took it to a repair shop and they fixed it but when I got it back the power and home button didn't work, I turned on assistive touch so I can use my home button and turn off my phone, now I can't turn it on without using my charger or having someone text me, is there any other way I can turn it on without having to do that?
  • My lock/power off button broke? I've had my iphone SE for 1 1/2 years and I've never smashed it, mistreated it or had any problems/symptoms leading up to the breaking of my lock button, any ideas why this happened and roughly how much it will cost to repair without apple insurance?
  • My lock button on my iPhone broke? My lock button on my phone broke and I'm gunna get it fixed but i know there's a setting that can lock it wheere there's like a circle on your screen and you press it and go to devices and lock it or something. How do i turn that setting on?
  • IPhone stuck on Apple boot logo, Power button is broke and computer won't recognize my device My iPhone 4s crashed when doing an OTA update and now I'm stuck at the Apple boot logo every time I charge it. My power button is broke so I can't put it in any sort of recovery mode/hard reset it with that method. To make matters even worse, my computer isn't recognizing my Apple device at all! Neither is iTunes! < I'd be very grateful if someone could shed some light on this situation and help me out. It's very frustrating… I've tried almost everything.