I did both these steps with no luck
If your screen is black or frozen
If your screen is black or frozen, you might need to force restart your device. A force restart won't erase the content on your device. You can force restart your device even if the screen is black or the buttons aren't responding. Follow these steps:
- iPad models with Face ID: Press and quickly release the Volume Up button. Press and quickly release the Volume Down button. Press and hold the Top button until the device restarts.
- iPhone 8 or later: Press and quickly release the Volume Up button. Press and quickly release the Volume Down button. Press and hold the Side button until you see the Apple logo.
- iPhone 7, iPhone 7 Plus, and iPod touch (7th generation): Press and hold both the Side (or Top) button and the Volume Down button for at least 10 seconds, until you see the Apple logo.
- iPad with Home button, iPhone 6s or earlier, and iPod touch (6th generation) or earlier: Press and hold both the Side (or Top) button and the Home button for at least 10 seconds, until you see the Apple logo.
If your device still won't turn on or start up
Plug in your device and let it charge for up to one hour.
After a few minutes, you should see the charging screen.
If you don't see the charging screen within an hour, or you see the connect to power screen, check the jack, USB cable, and power adapter. Make sure that everything is plugged in firmly, free of debris, and not damaged. You might want to try a different USB cable or power adapter.
If your device still doesn't turn on, see what to do next.