Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

batterylevel

Getting the battery level of a Bluetooth headset on Mac OSX

April 7, 2024 by Tarik

There is no easy way to get this information without special application. There is an app especially designed for this only purpose – called AKKU. It worked with Bose and Sony’s headphones (checked) https://github.com/jariz/Akku/ Remember to download version 0.1.0-beta.10. The app works after restart.

Categories macos Tags batterylevel, bluetooth, command-line, macos, unix Leave a comment

Get battery level only once using Android SDK [duplicate]

December 8, 2023 by Tarik
Categories android Tags android, batterylevel Leave a comment

Android persistent socket connection rules

August 10, 2023 by Tarik

Since there has been some interest in this question and no confirmations, I will just respond now. It has been a while since the tests were done, and a production level solution has been created and rigorously tested. Removing the wake lock still helped the battery and no other issues were found such as missing … Read more

Categories android Tags android, batterylevel, sockets, tcp, wakelock Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa