This weekend I’m planning to tackle a simple project to reduce my screen time. I dedicated some thinking to this topic and maybe my case will be interesting to you.
Analysing my usage patterns, basically there’s time where screen time is justified (waiting in a queue, commute in public transportation) and there’s time where it very isn’t - for example when kids are home or when I could spend time with my wife. It’s important to “weigh” the time, or classify the time and put proper attention to it. Then, you can also start lifting time from one class to another; goal is to generate high quality time slots and not waste them.
To fit my needs, I have to develop a tool that will measure my off-the-phone time in some slots. I can define them upfront (eg 17:30 - 22:30 from Monday to Friday), or just delete datapoints in beeminder and derail eventually.
The best tool for me would be a “put phone away box” that would send the reports to beeminder. I wasn’t the first person to invent that, but I don’t want to pay subscription for something that I can’t beemind. Also, I happen to have a raspberry pi that is perfect for this use case.
Raspberry is a small computer you can hide in your pocket. Very small, very flexible. You don’t need raspberry or arduino, it will work the same way with your laptop.
The idea is to put raspberry in some obscure part of the house, connect a USB charging cable for my phone and compute time it’s been connected with this cable. Datapoint will contain amount of minutes it’s been there + time range in a comment (so that I know when it was).
I have to find an SD card for the raspberry, put the system online and generate simple script with ChatGPT. Script will run on system boot and it will periodically scan ports to find a device and start measurements.
The goal would be to keep the phone as much as possible inside the raspberry charging station - eventually total screen time will decrease as I move more time into quality time and remove my phone from quality time slots. I think I should note down weekly the screen time from Apple anyway, just to check if total amount of time is decreasing. It is not necessary, but interesting to see. raspberry can live on battery too. I’ll start simple, I don’t have the battery.
I think this is the closest analogy to “GPS location in the gym“ or scanning QR code, but for the screen time. Also, I can put some rules in the code to ignore obvious cheats: plugging phone at night or plugging it for <10 minutes. I think I will report everything for the first week and then fine tune code and commitment. For reference, I spend about 20h a week with my phone. I think I should be at 10h.
Sounds good? I’ll share some code and photos once it’s done.