This post is an update of the second part of my Moto server series: https://lemmy.zip/post/72142441

Rumor has it that keeping an 8-year-old phone permanently plugged in with its equally ancient Li-ion battery might not be the greatest idea ever conceived.

Some even claimed that a phone needs a battery to work.

Very negative people.

Anyway, I removed it.

Pettyl did not care.

nginx: UP PHP-FPM: UP MariaDB: UP WordPress: UP cloudflared: UP sshd: UP

The battery is currently sitting next to the phone, contributing absolutely nothing to the project.

Pettyl is now running entirely from USB power, at around 37°C, while continuing to serve the website like this is completely normal.

There is, however, one tiny detail the haters may enjoy:

It can’t boot without the battery.

So the official Pettyl disaster recovery procedure is now:

  1. Insert battery
  2. Boot Pettyl
  3. Connect USB power
  4. Remove battery
  5. Pretend this is enterprise infrastructure

The battery is no longer a battery.

It is the starter motor.

I see no problems with this architecture.

Anyway, Part 3 is going great.

you are viewing a single comment's thread
view the rest of the comments
[–] 11 points 1 week ago (8 children)

What did you put in place of the battery? nothing or a cap? i tried this with a moto g6 but there is not enough power delivered through its own usb port so i have to use a 5volt source+capacitor connected to the bms i saved from the battery.

  • source
  • hideshow 8 child comments
  • [–] [S] 30 points 1 week ago (7 children)

    I did not need to fake battery presence, just needed the battery as a starter, once the phone is booted just removed the battery.

    Although the real test is yet to come, I have to leave it like this for a day or two, to see if it powers off when CPU spikes…

  • source
  • parent
  • hideshow 7 child comments
  • [+] 26 points 1 week ago* (last edited 18 hours ago) (4 children)
  • [–] [S] 7 points 1 week ago (3 children)

    Lol thank you so much, and I absolutely love what you said: “MOTO ÜBER ALLES”

    I want to use it on the website instead of the boring copyright text lol, if it’s cool with you, I’ll even credit you!

  • source
  • parent
  • hideshow 3 child comments