This is the contribution guide to Akku.
Your device is not picked up by Akku and it reports that no battery state was found.
First, some background: Akku currently has to parse the full raw bluetooth communication with your device.
Because Akku is not a full fledged bluetooth stack, it might get things wrong here and there.
Simply put: the more hardware we get to test it with, the better it becomes.
If it failed to work for you then congratulations, you get to make it better! 😜
Before opening your issue, we'll need detailed data.
We recommend using wetransfer for adding the files you will attach to your issue.
We'll firstly need a packet dump of your headset's connection request to your device:
- Stop any audio playback to your device.
This will muddle your packetlog otherwise.
- Optional: restart your mac.
This is to ensure that no sound data included in your packet dump could possibly become public, as the kernel buffers a 5-10 minute window of all bluetooth communcation into the memory.
Simply put: if you had a skype call with someone before this, might be wise to restart.
If you were just listening to music, it is not that important. - (Re)connect your device (sounds stupid, but do not skip this!)
- Go to the
Terminal
app and execute the following command:sudo /System/Library/Frameworks/IOBluetooth.framework/Versions/A/Resources/BluetoothReporter --dumpPacketLog /var/log/upload_me.pklg \ && open --reveal /var/log/upload_me.pklg
- Upload the file that shows up in finder
- Additionally - and preferably - you can check if the packetlog contains the correct data we are looking for:
- Install Wireshark
- Open the
upload_me.pklg
file. - Type
btrfcomm.address
in the 'Apply a display filter' field (& hit enter) - If it doesn't show any results below the filter field, it means wireshark can't find any useful data in the file (and neither will we). Try again and refollow the previous steps.
- Press CMD+SHIFT+G in Finder
- Enter
/Library/Logs/AkkuHelper.log
- Upload the file
- Repeat 1-3 for
~/Library/Logs/Akku.log
as well.
Crashes will be reported to the Akku team automatically, but attaching the crash reports can help pin down a specific crash type to an issue.
- If any
/Library/Logs/DiagnosticReports/io.jari.AkkuHelper_*.crash
files exist, attach them. - If any
~/Library/Logs/DiagnosticReports/io.jari.Akku_*.crash
files exist, attach them.
Coming soon.