Drupal feeds

Dries Buytaert: My phone's battery has been blogging for 7 years

Drupal Planet -

Seven years ago, I wrote a post about a tiny experiment: publishing my phone's battery status to my website. The updates have quietly kept coming ever since, showing up at https://dri.es/status.

Every 20 minutes or so, my phone sends its battery level and charging state to a REST endpoint on my Drupal site. Timing depends on iOS background scheduling, which has a mind of its own.

For years, this lived quietly at https://dri.es/status. I never linked to it outside the original blog post, so it felt like a forgotten corner of my site. Still working, but mostly invisible.

Even after seven years, people still mention it from time to time. So I decided to bring it out of hiding.

I added a battery icon to my site's header. It's a dynamically generated SVG that reflects my phone's battery level and charging state.

It's a little goofy. But that's the fun of having a personal website–you get to make it yours.

Long live the Indie Web.

Pages

Subscribe to www.hazelbecker.com aggregator - Drupal feeds