I recently facing battery drain by Gallery app.i have tried to find the issue but there is no background data usage and even i restricted the app. Anybody if you know the solution then let me know almost half battery is drained by gallery and i need to charge my device twice.
Same problem that Xiaomi Gallery App drains Battery in Xiaomi Redmi Note 10 Pro.
What did I do to fix it? (temporarily)
I just deleted all the data and cache from the gallery app and I also disabled background battery usage, background wifi and data usage and removed all permissions from gallery + i don't open the app anymore. (This is just a temporary solution, you will lose some of the features of the device but you can enable them later when you fix the corrupted file(s).
Until I find the corrupted file(s) I will not use the gallery app anymore because I lost half of my battery every day to the gallery app. You can try the method I used or a fix of the different steps I took and see what is suitable for your needs.
How can you fix it permanently? (maybe)
You can install
MP4Fix or
DiskDigger from Play Store (or download
DiskDIgger official apk) and hope that it finds all the corrupted files. Another way to find the corrupted files is to compare all the files from the File Explorer and the Gallery app and see what is missing but it will take a long time and it may still show the corrupted file in the Gallery. Other more serious ways to fix it is by erasing all data (factory reset) or rooting your phone and using a custom rom but
be aware you will
lose all your data.
How to see the live battery drain on your device?
Also another app to see if your battery is being discharged very fast is
Charge Meter (you can download from Play Store),
my device normally draws ~150-300mAh but when I have the gallery app open it draws ~900-1000mAh
Hope this helps!
(I am not a technician and whatever you do with your device I am not responsible. I am
not affiliated with any of the apps that I have listed above you can use your own preference of apps if you want. Feel free to contact me if you want to exchange information or ask more questions.)