soduto / Soduto

Soduto is a KDEConnect compatible client for macOS. It allows better integration between your phones, desktops and tablets.
https://www.soduto.com
GNU General Public License v3.0
319 stars 49 forks source link

Battery always reported as -1% or 0% #7

Closed albertvaka closed 4 years ago

albertvaka commented 4 years ago

When my phone connects to Soduto, I get a notification that the battery is at -1 or 0%, but this is not the case.

giedrius-stanevicius commented 4 years ago

Is this notification on the phone or on the desktop?

albertvaka commented 4 years ago

On the desktop.

giedrius-stanevicius commented 4 years ago

In that case I would suspect that the phone sends wrong information. Have you tried pairing the phone with Linux - does it work correctly with desktop KDE Connect?

albertvaka commented 4 years ago

This was indeed the phone sending the wrong values due to a race condition (that didn't happen on Linux for some reason). It's fixed here: https://invent.kde.org/kde/kdeconnect-android/-/commit/cff55ab8dd1b07e902cd6a51aef890c963f1867c