When your Android tablet isn’t charging, you might be thinking it’s that time again to get a new one. But don’t do that—not yet, anyways. Instead, consider troubleshooting your tablet and seeing if it truly needs replaced. You may end up saving yourself some money in the end.

If your Android tablet isn’t charging, try these methods below.

The Most Obvious Solution First

If your Android tablet isn’t charging, the first thing you need to check is the cable itself and that includes the charging adapter, too. You don’t have to be a technician for this one. Remove the cable from your tablet and switch it with a different one. Still doesn’t work? Switch out the charging adapter instead. Still doesn’t work? Double-check the power outlet you’re using. Swap another cable and perform the same checks and balances. While you’re at it, give your tablet a reboot, too.

What this does is rule out that it’s connected to faulty wires or unpowered electrical outlets. Unfortunately, if it doesn’t solve your problem, then it usually means it’s the charging port or the tablet itself.

Clean Your Charging Port

One of the side effects of having a charging port opened all the time is that dirt, grime, and dust can build up inside the connectors. When that happens, a proper connection cannot be made. This results in—you guessed it—your Android tablet refusing to charge.

Here’s what you can do:

1. Press and hold the Power button. Shut down your Android tablet completely. Give it about 60 seconds to ensure all processes have ceased.

Warning: Failing to shut down your device before moving onto Step 2 can result in an electrical shock. You have been warned.

2. Take a thin object, such as a wooden toothpick, and gently swap the edges of the charging port. DO NOT use anything metal. If you see any gunk, you can scrape it away.

3. Additionally, if you have a can of compressed air, you can blow on the inside. Be sure to hold the canister upright and about 6 to 8 inches away from the device.

Examine the Integrity of the Charging Port

If you developed a habit of yanking your charging cable out, then there’s a good chance that the cable is bent out of shape. Place the charging cable into the port. Does it wiggle back and forth? If so, then you’ve found the problem.

Charging cables have very thin ends, making them highly susceptible to bending. When bent out of shape, they’ll refuse to sit in the port the right way. In conclusion, you get cable that won’t charge your Android tablet.

On the other hand, if you insert a brand new cable and it still wiggles, then it’s actually the port itself that’s been bent out of shape. That’s going to require the assistance of a technician to fix.

Your Android Tablet is ‘Super’ Dead

Tablets and other handheld devices have two states of death. The first kind is when your battery ‘dies’ and the device shuts off, however, it still technically has juice left in it. It’s basically attempting to conserve power. The second state of death, a ‘super’ death, is when the device has been completely and utterly discharged. It won’t even boot into Safe Mode.

What’s the difference between them? The first kind of death means you can plug in your charger and continue using your tablet. It gains enough power to use and continue charging. The second kind doesn’t work that way. If you plug in your charger, there’s no indication that it’s charging when in fact it is.

In other words, you have to let the tablet charge for awhile. Don’t try to turn it on or mess with it. Just let the tablet be alone for about 30 mins. Social media can wait.

Uninstall Malware

Now it’s time to move into dangerous territory. Believe it or not, malware can be the culprit. While it is less likely than the solutions and possibilities listed above, it’s still something you should look into.

Malware commonly affects the functions of devices, especially in terms of power. When malware is constantly sending information about your tablet to some foreign server, that’s draining your battery. On top of that, it can prevent certain functions from taking place, which your charging port can be a target for.

If you don’t already have one, invest in an antivirus application. Here’s a few suggested apps you can pick up for Android:

The Battery Needs Replaced

It doesn’t happen often, but if you’ve had your Android tablet for a few years, it may be due for a new battery. Generally speaking, the current generation of batteries can last quite a few years—usually until a few generations of Androids come out before experiencing wear and tear. However, they won’t last forever.