this post was submitted on 26 Sep 2026
690 points (99.0% liked)

Selfhosted

62846 readers
729 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

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.

(page 2) 50 comments
sorted by: hot top controversial new old
[–] affiliate@lemmy.world 6 points 1 week ago

Well you better go catch it!

[–] r4venw@sh.itjust.works 5 points 1 week ago

I'm currently reading this on my nearly 8 year old phone. I guess when I finally get round to replacing it I'll have a new server! Sweet

[–] probable_possum@leminal.space 4 points 1 week ago* (last edited 1 week ago)

About the not booting issue: What if you soldered a fitting power supply directly to the phones battery pins? Is this a horrible idea? I don't know. Or 3d-print a power supply to dummy battery adapter...

[–] ikidd@lemmy.dbzer0.com 4 points 1 week ago

put one lead from the battery on a transistor so you can disconnect it with a little ESP or something when you go to power cycle it. Or even just hold down a button to connect it while you plug the phone back in.

[–] ruuster13@lemmy.zip 4 points 1 week ago (1 children)
[–] eggpl4nt@lemmy.world 3 points 1 week ago
[–] Baguette@lemmy.blahaj.zone 3 points 1 week ago

I should test this with my old s8

Had to toss the spicy pillow and had no clue what to do with it since

[–] TropicalDingdong@lemmy.world 3 points 1 week ago

How do I sign up for the pateron?

[–] hexagonwin@lemmy.today 3 points 1 week ago

nice phone! all of my phones i tested (with replacable battery) refuse to work without battery attached and almost instantly turns off if i ever detach it while running, even with power connected.

[–] bufalo1973@piefed.social 3 points 1 week ago

Why not connecting the battery with a cable and put a switch in it?

[–] amateurcrastinator@lemmy.world 3 points 1 week ago (1 children)

I wonder if my pixel 7 pro that dies suddenly can do the same. I suspect the battery just packed up

[–] jaybone@lemmy.zip 3 points 1 week ago (2 children)

I’ve run laptops without a battery, constantly plugged in. I assume this is not a fire hazard.

[–] cmnybo@discuss.tchncs.de 3 points 1 week ago

That's perfectly fine. The only issue is that it may limit performance on some laptops.

[–] frongt@lemmy.zip 3 points 1 week ago (2 children)

No more than any other electrical device.

load more comments (2 replies)
[–] moopet@sh.itjust.works 2 points 1 week ago (1 children)

Can you wire the USB power to the battery contacts...?

load more comments (1 replies)
load more comments
view more: ‹ prev next ›