this post was submitted on 16 Jun 2024
105 points (96.5% liked)

Android

17677 readers
37 users here now

The new home of /r/Android on Lemmy and the Fediverse!

Android news, reviews, tips, and discussions about rooting, tutorials, and apps.

πŸ”—Universal Link: [email protected]


πŸ’‘Content Philosophy:

Content which benefits the community (news, rumours, and discussions) is generally allowed and is valued over content which benefits only the individual (technical questions, help buying/selling, rants, self-promotion, etc.) which will be removed if it's in violation of the rules.


Support, technical, or app related questions belong in: [email protected]

For fresh communities, lemmy apps, and instance updates: [email protected]

πŸ’¬Matrix Chat

πŸ’¬Telegram channels / chats

πŸ“°Our communities below


Rules

  1. Stay on topic: All posts should be related to the Android OS or ecosystem.

  2. No support questions, recommendation requests, rants, or bug reports: Posts must benefit the community rather than the individual. Please post to [email protected].

  3. Describe images/videos, no memes: Please include a text description when sharing images or videos. Post memes to [email protected].

  4. No self-promotion spam: Active community members can post their apps if they answer any questions in the comments. Please do not post links to your own website, YouTube, blog content, or communities.

  5. No reposts or rehosted content: Share only the original source of an article, unless it's not available in English or requires logging in (like Twitter). Avoid reposting the same topic from other sources.

  6. No editorializing titles: You can add the author or website's name if helpful, but keep article titles unchanged.

  7. No piracy or unverified APKs: Do not share links or direct people to pirated content or unverified APKs, which may contain malicious code.

  8. No unauthorized polls, bots, or giveaways: Do not create polls, use bots, or organize giveaways without first contacting mods for approval.

  9. No offensive or low-effort content: Don't post offensive or unhelpful content. Keep it civil and friendly!

  10. No affiliate links: Posting affiliate links is not allowed.

Quick Links

Our Communities

Lemmy App List

Chat and More


founded 1 year ago
MODERATORS
 

I keep having my phone completely drained of battery over night, and im not sure why.. Each night the phone will easy chew through 30-40% battery. Only thing that helps is putting it in battery saving mode. But feels like a temporary solution.

The second most used app is at 7% percent usage.

Am running GrapheneOS, anyone else struggling with this?

all 36 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 5 months ago

First, find a good battery stats app. The factory stuff often isn't granular enough. I use GSAM, because I'm lazy, my phone isn't rooted, and it's good enough.

Second, make sure whatever apps your using across TS aren't doing something during this time. I have to carefully configure sync apps (Syncthing, FolderSync) to be sure they don't use TS unintentionally.

[–] [email protected] 10 points 5 months ago* (last edited 5 months ago) (1 children)

Well, it has to run in the background. That said I haven't noticed a significant uptick in battery consumption. The battery consumption you see might be from something else.

[–] [email protected] 4 points 5 months ago (1 children)

I wonder what causes it really, didn't use to happen, but seem to be a common problem for many.

[–] [email protected] 3 points 5 months ago

Could be anything. What I do to reduce the possibility of some app going haywire in the background, I restrict background usage to all apps that I'm sure I don't need to run in the background. Obviously Tailscale isn't one of them because I need it. πŸ˜… Also I started using Shelter to put untrusted apps like WhatsApp into a work profile and completely disable them when not in use. I haven't had many battery drain incidents since then.

[–] [email protected] 2 points 5 months ago (1 children)

I was going to say use https://github.com/juanfont/headscale, but I dont see an android client.

[–] [email protected] 2 points 5 months ago

It uses the tailscale client.

[–] [email protected] 29 points 5 months ago (2 children)

It's a known issue with tailscale. It drains my battery pretty bad as well. I had to opt for wireguard for remote access instead.

[–] [email protected] 1 points 5 months ago

I've seen these kinds of issues over the years with different tools on a variety of phones. It's so hard to know what the root cause is.

Some phones are just fine,others eat batteries without tools, even when on the same versions of Android and the app.

Sometimes it's just so hard to figure out.

[–] [email protected] 8 points 5 months ago

Ah that's a shame, I love using Tailscale πŸ™

[–] [email protected] 9 points 5 months ago* (last edited 5 months ago) (2 children)

I'm on Graphene. Mullvad is only 1% for me with 16h30min since last on a charge. I'm at 56% with 1h30m screen time.

I used GPS as I did some driving with maps and my music app accounting for 29% of my battery usage.

I throw my phone on the charger at night figuring battery tech and software management is good enough.

Are you WiFi or mobile? I get shitty mobile service so if I'm off WiFi my battery tends to go to shit. The VPN usually accounts for more as I assume it keeps reconnecting.

[–] [email protected] 1 points 5 months ago

Indeed, I think ur right my mobile network usage is 68%... So I'll avoid using that over night.

[–] [email protected] 8 points 5 months ago* (last edited 5 months ago) (1 children)

Wasn't a big issue with Graphene that it doesn't support any form of smart battery charging?

And before the responses pour in, yes, I've read https://akc3n.page/posts/battery-management/. And no, there is not a quoted source for a device skipping maintenance mode at 80%, or to refute the many studies showing the benefit to lithium cells, or to cover wireless or non-PD charging. When a "solution" is using a smart plug with HA to stop charging, it's still an issue.

Edit: I do like GrapheneOS. This is just a decision I don't agree with.

[–] [email protected] 3 points 5 months ago* (last edited 5 months ago)

This is news to me. That said, I'm usually one generation behind but upgrade every 2 years as my phone is usually EOL for software updates by the end of the period. I try to time it so I can get a replacement paid outright at mid-range prices.

With the Pixel 8 introducing extended software support, I'll have to dig more into this.

[–] [email protected] -5 points 5 months ago (3 children)

After checking on tailscale privacy policy, I also suggest to drop tailscale and use mullvadvpn if you live in EU or US (it is great) or protonvpn. You can install WG Tunnel from F-Droid and add wireguard configuration from your VPN provider as well. It is consume only 1-3% during the day on my device.

[–] [email protected] 3 points 5 months ago

If you want to preserve privacy while utilizing Tailscale's functions beyond a VPN, one can deploy Headscale on their own infra and be free from any spying.

[–] [email protected] 15 points 5 months ago

It's not comparable. Tailscale creates a virtual network between your devices allowing to reach your server outside your home while other mentioned services create a virtual network to someone else's server

[–] [email protected] 15 points 5 months ago (2 children)

I'm on Graphene too and I once read that the modems used in Pixel phones are pretty trashy and drain a ton of battery. If I filter my battery usage by system, it shows that network standby almost consumes half of my battery charge (~46%).

Maybe the other guy here is right and it's a VPN issue (too)? idk. Anyway, I didn't really found a solution for this except leaving my phone on airplane mode at night.

[–] [email protected] 11 points 5 months ago

Tbf Tensors suck ass

[–] [email protected] 7 points 5 months ago

Ah thanks for pointing that out, I did the same and see that my Mobile Network usage stands for 68% of my battery usage... Yikes!

[–] [email protected] -5 points 5 months ago (1 children)

This seems to be a normal issue with VPN apps on Android, they drain battery like crazy

[–] [email protected] 11 points 5 months ago (3 children)

Both protonvpn and mullvad are at 1% for a day. Y'all stop using crappy vpns.

[–] [email protected] 4 points 5 months ago

Tailscale isn't a classic vpn such as Proton and Mullvad. Tailscale crates a network between your own devices, but has Mullvad as an integration for those who want to run Mullvad as an exit node. I don't need a vpn to mask my location, I need it to connect my devices together. I'll look into using just wire guard instead though.

[–] [email protected] 1 points 5 months ago (1 children)

No idea about those, but wireguard and openvpn were terrible for battery life, only ever used if I needed to access something at home

[–] [email protected] 1 points 5 months ago* (last edited 5 months ago) (1 children)

As the apps or as the VPN service?

I run both via VPN app and i have similar results to @astrsk

[–] [email protected] 1 points 5 months ago (1 children)

I had openvpn server on pfsense couple years ago, and now wireguard on Mikrotik

[–] [email protected] 1 points 5 months ago (1 children)

ohh i see. i was walking phone.

aint router CPU super underpowered? and it would manage a lot of move traffic?

[–] [email protected] 1 points 5 months ago* (last edited 5 months ago)

Nah don't see that being factor, the small Mikrotik is handling it very well for my small homelab, and pfsense was running on stupidly overkill 8c16t / 32gb memory because didn't have any more fitting hardware at that point

Edit: the huge battery drain was on phone, with VPN client

[–] [email protected] 9 points 5 months ago (1 children)

Same with WireGuard, 1% all day every day.

[–] [email protected] 2 points 5 months ago (1 children)

I'll look into using just WG then! Thanks

[–] [email protected] 3 points 5 months ago (3 children)

Problem is that setting wg is nowhere as user friendly as just the single click of tailscale

[–] [email protected] 2 points 5 months ago

PiVPN is the easiest way to use WireGuard imo. Even has QR code generation right in your terminal emulator. It’s nothing more than a few simple scripts that wrap the server functionality but I’ve been using it for years.

[–] [email protected] 1 points 5 months ago

Yeah thats why I love Tailscale so much, its so simple :)