android icon indicating copy to clipboard operation
android copied to clipboard

Extreme battery drain due to stuck sync

Open RomanBf opened this issue 10 months ago • 5 comments

Environment:

  • MEGA app Version(s): 15.24
  • OS Version(s): Android 16
  • Devices/Simulators: Google Pixel 7 Pro

Describe the bug

Syncing a folder on my Android phone (Obsidian notes vault) with MEGA does not finish, and churns through CPU - draining the battery even if App is running in the background. I attached a screenshot from adb shell top command where you can see that it probably is in an infinite loop or something when interacting with the Android media module.

The folder I am syncing does contain a hidden ".obsidian" folder and just some markdown files, could the hidden folder possibly be the reason? The same folder I also sync with MEGA sync Desktop app, where on the desktop MEGA sync App at least, I have to delete an automatically included sync exclusion rule when creating the sync so folders beginning with "." (dot) are synced. Maybe an edge case that is not properly tested when syncing that with Android too. From the desktop there is then a .megaignore file created too which gets auto-synced to Android.

Reproduction Steps

Add the different steps to reproduce the behavior.

  1. Create an Obsidian vault and store it on Android internal storage -> Documents folder
  2. Sync it to MEGA via Android App
  3. Create a Mega sync Desktop sync to sync to PC
  4. Configure the sync exclusions on desktop to allow folders and files beginning with dot "." to be synced
  5. When changing a file in the vault, and MEGA Android syncs it, it stays in "Syncing" state and never finishes, while draining battery non stop (10-20% in one hour) of the phone.

Expected behavior

Sync should complete properly and no battery drain afterwards.

Screenshots / Logs

Image

RomanBf avatar Jan 19 '26 10:01 RomanBf

I submitted a bug report via the Android App too.

RomanBf avatar Jan 19 '26 10:01 RomanBf

Hello,

We may need log files to investigate the issue. Therefore, for security reasons, please follow the email conversation in the ticket HGX-983-83746.

Thank you.

jx-mega avatar Jan 26 '26 15:01 jx-mega

I have the exact same issue.

fladd avatar Feb 15 '26 13:02 fladd

It does the same when excluding dot files also. The Android app just never finishes syncing. It always says "Updating..." and never reaches "Up to date".

fladd avatar Feb 15 '26 13:02 fladd

Any news on this issue?

scarela avatar Apr 03 '26 19:04 scarela