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.

  • vext01@feddit.uk
    link
    fedilink
    English
    arrow-up
    0
    ·
    10 days ago

    Remember the days when hou could just pop the back off and take the battery out?

    • El_Scapacabra@lemmy.zip
      link
      fedilink
      English
      arrow-up
      0
      ·
      10 days ago

      And it would still run when you had it plugged in. I could remove the battery from my old Galaxy S2, plug it in and it would work. And if I remember correctly, the same thing went for most of the phones I had before that.

    • WhoIzDisIz@lemmy.today
      link
      fedilink
      English
      arrow-up
      0
      ·
      10 days ago

      Still have my LG Optimus on Android 2.x somewhere. With 512MB RAM I dunno what to do with it outside of a clock display, but I have it (and a spare battery).

    • SayCyberOnceMore@feddit.uk
      link
      fedilink
      English
      arrow-up
      0
      ·
      10 days ago

      That’s where I am today with my Fairphone.

      I honestly held on to my old Nokia, replacing batteries and cases until Fairphone came along and then I jumped from 90’s tech to modern day.

      0–>100% in 10 seconds (with a 2nd battery)

    • foggy@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      10 days ago

      I used to keep a charged spare on me. And this was back when a phones battery life was like 3-7 days.

      Stop making phones thinner God dammit. I don’t want a thinner phone. I want longer battery life and a removable battery so I can fucking double the shitty longer battery life I get.

        • nullroot@lemmy.world
          link
          fedilink
          English
          arrow-up
          0
          ·
          10 days ago

          That’s kinda hard when women’s pants often have no pockets, fake pockets, or pockets so small they’re functionally useless.

          • Mouselemming@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            0
            ·
            edit-2
            10 days ago

            That’s why it’s a response to “I want…”!

            An add-on to the wishlist, as it were. I’m just an old non-tech cis woman but I firmly believe generous pockets could and should be designed/engineered/built into every twirly skirt, every thigh-high (but down near the ankle bc gravity) every booty pant and even red-carpet gala gowns. At least someone finally realized workout leggings can have a pocket down on the leg if it’s so god-damned important not to interrupt the “line” elsewhere.

            And everyone should feel free to wear whatever styles they feel suit them, with neither social stigma nor pocket-neglectful construction holding them back.

            • nullroot@lemmy.world
              link
              fedilink
              English
              arrow-up
              0
              ·
              10 days ago

              Hell yeah sister! I’m 100% for this. I’m a cis guy but the clear disparity of pants pockets between gendered clothing (and clothing being gendered at all) has always irked me. Everyone should have equal access to pockets!! (Silly but serious)

      • u/lukmly013 💾 (lemmy.sdf.org)@lemmy.sdf.org
        link
        fedilink
        English
        arrow-up
        0
        ·
        10 days ago

        I used to keep a charged spare on me.

        There’s at least one Chinese brand that has smartphone with hot-swappable battery: https://rugone.net/products/xever-8

        Removable battery. Swap within 2 minutes for zero interruption. After 2 minutes, the device enters a 60-second safety lock-out to protect your data.

        Unfortunately, software from these brands tends to be shit. I feel like they just outsource it to the cheapest company. Especially following this recent thing:

        As of March 4, Sophos X-Intercept telemetry listed over 500 unique compromised Android devices across nearly 50 models. The devices were mostly low-cost models produced by the following manufacturers: Allview, BLU, Dcode, DOOGEE, Gigaset, Gionee, Lava, and Ulefone. The list did not include Alldocube devices, despite Kaspersky reportedly observing Keenadu affect that manufacturer as well.

        Source - Sophos
        Report from Kaspersky

    • undefinedTruth@lemmy.zip
      link
      fedilink
      English
      arrow-up
      0
      ·
      10 days ago

      Didn’t EU pass a regulation regarding that? If I recall correctly all portable devices sold in the EU after February will will need to have a user replaceable battery.

        • thenoirwolfess@fedinsfw.app
          link
          fedilink
          English
          arrow-up
          0
          ·
          10 days ago

          They already did I believe. They enhanced their battery glue so it should be easier to remove; reduced the amount of different screwdriver types required to access the battery to one or two; and put a small repair tool set up for sale, for the low price of $700. Thats already impressive for Apple standards

    • SuspiciousCarrot78@aussie.zone
      link
      fedilink
      English
      arrow-up
      0
      ·
      9 days ago

      They do. They’re generally just… not very good or are very expensive.

      Samsung had a good one in the Xcover. I’d get one but… well… Samsung.

    • diaphragmwp@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      0
      ·
      9 days ago

      Regular-ish Linux won’t care, given that the BMS is also removed and isn’t dangling from the battery connector.

      Android will fuck you over and bootloop. Android recovery, too.

      Source: I tried.

  • neidu4@piefed.social
    link
    fedilink
    English
    arrow-up
    0
    ·
    10 days ago

    Anything made to be run from battery can work fine without one. Worst case scenario requires you to spoofing some I²C telemetry, but outside of that, DC is DC.

    • ShortN0te@lemmy.ml
      link
      fedilink
      English
      arrow-up
      0
      ·
      10 days ago

      The charging cirtuit that also tries to guess the battery percentage can be the problem. The ‘guessed percentage’ will depending on the chip and programming go down even if you solder in a dc power supply. When it hits the 0% it will shutdown.

      Thats the case for some smart phones.

  • jaybone@lemmy.zip
    link
    fedilink
    English
    arrow-up
    0
    ·
    10 days ago

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

  • viertesauge@feddit.org
    link
    fedilink
    English
    arrow-up
    0
    ·
    10 days ago

    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.

  • Gagootron@feddit.org
    link
    fedilink
    English
    arrow-up
    0
    ·
    10 days ago

    When the battery in my wall mounted android tablet swelled i had to add a 10k resistor to the sense line, inject the 5V directly into the battery port and add a few capacitors to get it to work. But at least it won’t cause a fire now.