hello please don't reset the phone if the battery is dead just charge it externally the plug it back in the phone if it still has power just plug it back in the phone
then be as fast as possible
go to settings
then storage
then cache data
as it still calculating tap on
then clear cache yes