ylih is an Android app for people who want to know how long each pair of headphones has lasted. It logs when a pair connects and disconnects, and adds up the hours per physical pair. When a pair wears out, it can be retired so that the next pair of the same model starts counting from zero.
The app works offline and keeps its data on the device. By default it only watches Bluetooth connections, so it does not run in the background or show a notification. An optional detailed mode adds wired and USB headphones and can measure playback time against connected time. Cost per hour can be calculated if the price paid is entered. The code is public under the MIT license.
Alternatives to ylih
Products that do a similar job in Health & Fitness.
Pulsar
Android heart rate monitor app for Bluetooth sensors with picture-in-picture mode
Gadgetbridge
Companion app for Bluetooth smartwatches and fitness trackers on Android
Yoga Fit
Beginner yoga classes and guided meditation for iPhone and iPad
openGym
Open-source gym and body-weight tracker for routines and workout logs
Running Trainer: Tracker&Coach
Run tracker with GPS routes, pace splits and voice feedback for iPhone
adidas Running
Run, walk and workout tracker with challenges and training plans
Strong
Simple gym logger for recording barbell workouts and sets
Hevy
Gym log for sets, reps and lifts with free workout programs