It’s not easy to replace an iPad battery because Apple designs its products with solid cases that can only be opened with effort and skill. But that doesn’t mean you need to buy a new iPad when your iPad battery starts to die. Here are four options for replacing an iPad battery that won’t hold a charge.

Battery Replacement for iPads Under Warranty (AppleCare)

If your iPad is under its original warranty, or you purchased an AppleCare extended warranty that’s still in effect, Apple will replace the battery (actually the entire iPad) for free. If your warranty is still active, go to Apple’s iPad Repair support page and click the Start a service request link in the “iPad battery and power” section (Search the page for “Start a service request” to find it faster). You can also set up an appointment at an Apple Store and take your iPad in. Back up your iPad data before handing over your iPad to avoid losing your data. The repaired or replaced iPad should arrive three to five business days after you give yours to Apple.  Apple may test your iPad to see if the problem was caused by something not covered by the warranty (if so, your replacement likely won’t be free). Also, if the iPad has an engraving on it, the turnaround time can be up to two weeks, since Apple will also engrave the replacement iPad.

Battery Replacement for iPads With Expired Warranty

If your iPad is out of warranty, Apple will repair the battery for $99 (plus $6.95 shipping, and tax). To initiate a repair, start a service request on Apple’s site or go to an Apple Store. Even if you have to pay for the battery replacement, $99 is a good price to get an iPad working again. That said, you should consider the cost of repair versus the cost of getting a new iPad. If the iPad with the failed battery is old, it may be better to put that money toward the cost of buying a new iPad.

iPad Battery Replacement at Authorized Repair Shops

There are shops that repair iPad screens and batteries. These repair shops may even be found in kiosks in many malls and may charge less than Apple. If you plan to use one of these repair shops, look for one that is authorized by Apple to provide repairs. That means they’re trained and experienced. An inexperienced repair person may cause more problems than they solve. Apple may not fix these problems if they were performed by an unauthorized provider.

DIY iPad Battery Replacement

It’s possible to replace an iPad battery yourself with the right tools and skills. Only try this do-it-yourself option ​if you’re tech-savvy and willing to risk destroying your iPad. It will cost between $50 and $90 to buy the tools and parts needed to replace the iPad battery. But remember: Repairing your own iPad voids its warranty (if it’s still under warranty). If you ruin your iPad, Apple will not fix the device.