Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Charge limit causes bug with Seedvault device backup #4626

Closed
schklom opened this issue Jan 3, 2025 · 5 comments
Closed

Charge limit causes bug with Seedvault device backup #4626

schklom opened this issue Jan 3, 2025 · 5 comments
Labels
bug Something isn't working upstream

Comments

@schklom
Copy link

schklom commented Jan 3, 2025

How to reproduce

  1. Enable the charge limit
  2. Plug the phone to charger
  3. (Maybe unnecessary) Go to "Backup scheduling" > enable "Back up only when charging"
  4. Enable "Backup scheduling"
  5. When the scheduled backup happens, the notification "backup failed" happens

Effect

This causes the "backup failed" notification to pop up, and come back whenever it gets dismissed.

Temporary solution

Turn off charge limit, or unplug the phone, or turn off backup scheduling and run backups manually instead.

@thestinger thestinger added bug Something isn't working upstream labels Jan 3, 2025
@thestinger
Copy link
Member

Needs to be fixed in Seedvault upstream. We're using the standard Android HAL for this.

@schklom
Copy link
Author

schklom commented Jan 3, 2025

Got it, thanks ! I'm not sure if it's better to leave this issue open until Seedvault fixes it, or close it now, so I leave it up to you.
The upstream Seedvault issue is at seedvault-app/seedvault#833

@thestinger
Copy link
Member

We're planning on replacing Seedvault with an app using a significantly different approach and don't really want to track the issues here.

@thestinger thestinger closed this as not planned Won't fix, can't repro, duplicate, stale Jan 3, 2025
@thestinger
Copy link
Member

There's a standard Pixel HAL feature for setting the charge to limit just to clarify what is meant by that. We're not setting it with the low-level kernel APIs which are not properly supported by the higher level OS. We considered doing it that way to make it more configurable but it's not the right approach without significant further changes.

@schklom
Copy link
Author

schklom commented Jan 4, 2025

I'm updating the relevant issue with your last replies, thanks for the details :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working upstream
Projects
None yet
Development

No branches or pull requests

2 participants