Add the ability to change when obsidian sync uploads changes

Use case or problem

When using a laptop, power usage is very important. In the latest version of obsidian, obsidian sync uploads changes to the cloud every time a change is made. This causes constant disk and network usage, which results in poor battery life on my laptop. (12-16 Watts comapred to 6-8 Watts without it, according to powertop)

I would like to change when obsidian sync uploads changes from every single time a change is made to uploading at certain intervals. This would greatly improve battery life on my laptop.

Proposed solution

The current sync method is nice for desktops or in a not power constrained environment. I think it would be nice if we could pick between the current method and an interval (15s, 30s, 60s, 2 minutes, etc.) which would tell obsidian how often it should check for changes and if it detects any, uploads them to the cloud.

Current workaround (optional)

I pause obsidian sync when I’m writing and enable it when I’m done.

Related feature requests (optional)