Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
×
Google Android Bug

A Bug in Google Messages Might Be Draining Your Battery (theverge.com) 24

An anonymous reader shares a report: According to 9to5Google, a recent bug in Google's Messages app on Android phones left the camera running in the background -- a great way to both heat up your phone and run down your battery. The Google Messages app allows you to easily take a photo directly from the app and attach it to a chat message. According to the article in 9to5Google, the camera app would occasionally keep running, even when you did not have it on screen.
This discussion has been archived. No new comments can be posted.

A Bug in Google Messages Might Be Draining Your Battery

Comments Filter:
  • Reality check (Score:4, Insightful)

    by fph il quozientatore ( 971015 ) on Friday April 22, 2022 @03:04AM (#62467868)
    Pray tell, why the actual f*** does the Messages app have enough permissions to open the camera in the background? Are we sure that's not problem #1 here?
    • Re: (Score:3, Informative)

      Because people can take photos within the Messages app itself using either the front or the back camera. It would seem it uses the camera app behind the scenes, rather than duplicating the photo taking code into the Messages app.

      • It's more likely something that has to do with a change in the strategy Android uses to pause or shutdown apps when they go to background (see Activity lifecycle [android.com]). I notice Google documentation was last updated on October 27 last year. Not sure what changed. Not really fresh news either.

        I also noticed my camera staying on a bit longer than usual after using it lately.

      • by slazzy ( 864185 )
        Still, there's no reason to take photos when the app doesn't have the foreground. Well, there is a reason involving three letter agencies
    • by Merk42 ( 1906718 )
      Because the user granted it those permissions, which they could easily deny.

      Why does it request those permissions?
      It allows a user to take a photo right in messages and send it, rather than taking a photo, saving it, then attaching it in a message.
      The user could easily just deny Messages that permission, lose out on that particular functionality, but still use everything else.
    • Pray tell, why the actual f*** does the Messages app have enough permissions to open the camera in the background?

      I have a better question: Why would Messages app not have enough permissions to do so? It's literally a standard function in *every* messaging app be that Telegram, Messenger, iMessage, WhatsApp, or this one being discussed, not only in terms of sending photos and video calling, but also for things like QR code scanning (which WhatsApp uses to link devices such WhatsApp's PC app to the phone).

      I'm not sure what you think "background" actually means by the way. In no cases is there are a requirement for what

  • On the latest Android (at least on my Pixel), this is easy to check. EVERY time the camera is active, regardless of app, it shows an icon for it up near the wifi/cell icons.

    This isn't limited to just the Messenger app either. I see apps all the time (Instagram, Twitter, etc) after I use the camera to make a post, will have the camera still active. I have to close out the apps sometimes to release the camera access.

    It really feels more like a bug with Android as a whole, not the Messages app itself.

    • I know what you're talking about but at least on my pixel 6 that indicator does not display when this bug is happening. The phone gets unusually hot and battery drops, but no little green dot telling me the camera is active. Denying messages access to the camera seems to prevent it.

  • Is draining y'alls batteries. got it.

  • "Camera is performing image processing service".... I have awoken to a dead phone many times thanks to this bug. Thanks for that, Google.

    I always know when it's happening, because for me in particular, any camera app will hang with a black screen while the bug is active. If I'm smart that day, I take that as a prompt to reboot the phone.
    • Useful warning, thanks. Is this happening even when your phone is plugged in (while you sleep)?

      • by dohzer ( 867770 )

        Yeah, I'm confused. Doesn't every tech-savvy person habitually charge their phone overnight? Or are there other people out there like my Mother who are constantly on 4% battery?

        • I have limited trust in lithium batteries and specifically avoid charging my phone when I'm not conscious. I plug it in typically when I notice it's under 50%, often using a car charger on the way to or from work. Other than an unnoticed camera bug, I've never had it low on battery in the morning.

          Most likely the camera bug would still be present if I did charge overnight, but would likely result in the phone getting even warmer.
  • Not mine, I use simple messages now. Still have to use the official dialer though, not because you can't replace it, but because you can't use it even when you want to unless it's set as the system dialer. I don't know if that's how it has to be, but there's no good reason not to permit multiple dialers.

  • by ltcdata ( 626981 ) on Friday April 22, 2022 @09:25AM (#62468468)

    Thankfully, samsung phones with one ui 4+ have an indicator that the camera is in use by an app.

    • by dohzer ( 867770 )

      Plus a whole lot of un-removable bloatware. That's why I made the move away from Sammy.

  • by nospam007 ( 722110 ) * on Friday April 22, 2022 @10:15AM (#62468614)

    Honi soit qui mal y pense.

There are two ways to write error-free programs; only the third one works.

Working...