Slashdot Mirror


Flash Can Rob 2 Hours From MacBook Air's Battery Life

The lack of Flash in the new MacBook Air may annoy some users, but it has a big upside, too. According to Wired's report (citing Ars Technica) passed on by an anonymous reader, "Having Flash installed can cut battery runtime considerably — as much as 33 percent in our testing. With a handful of websites loaded in Safari, Flash-based ads kept the CPU running far more than seemed necessary, and the best time I recorded with Flash installed was just 4 hours. After deleting Flash, however, the MacBook Air ran for 6:02 — with the exact same set of websites reloaded in Safari, and with static ads replacing the CPU-sucking Flash versions."

44 of 509 comments (clear)

  1. Why not install Flashblock by default by microbee · · Score: 4, Insightful

    Block all flashes by default but allow user to enable one specifically. Problem solved.

  2. Would've been first post... by by+(1706743) · · Score: 4, Funny

    ...but my computer ran out of batteries and I had to find an outlet.

    1. Re:Would've been first post... by AnonymousClown · · Score: 4, Funny

      ...but my computer ran out of batteries and I had to find an outlet.

      I have several outlets besides computers - cooking, swimming, yoga, masturbation to hairy milf porn, ....oh, you're talking power outlet! My bad.

      --
      RIP America

      July 4, 1776 - September 11, 2001

  3. I think this should be read more like... by MarcoAtWork · · Score: 5, Insightful

    ... web ads can rob 2 hours from a macbook air's life, the main reason why the battery lasts longer in the no-flash case is because the ads aren't loaded, once all ads move to HTML5 I don't think there'll be that much of a difference.

    --
    -- the cake is a lie
    1. Re:I think this should be read more like... by Anonymous Coward · · Score: 3, Interesting

      At least two HTML5 implementations are now indirectly threaded, so it won't stall a core like Flash does when you open 5 heavy tabs.

      Also the problem with Flash is its history of inefficiency for even simple operations. The problem here isn't the ads (that's another problem), the problem is their performance. WebGL is currently doing stuff Flash can't dream of, and that will only improve (unlike Flash).

      Bad JavaScript sucks nearly as hard as bad ActionScript, but at least we have tools to debug and selectively disable JavaScript, because JS is implemented by the browser and not some external runtime.

      There is no reason a browser can't implement actions to assist the user in this area, like to optionally shut down a JS script when it stalls the CPU for 5 seconds, or to disable selected animations by right-clicking on them. Will Adobe ever add assistance like the these examples? Fuck no they won't, they've had 10 years of complete inaction.

    2. Re:I think this should be read more like... by 93+Escort+Wagon · · Score: 5, Informative

      Yes, because decoding H.264 is so much less CPU intensive...

      You're trying to be facetious, but in my experience that's actually true - and that shows what a dog Flash is.

      --
      #DeleteChrome
    3. Re:I think this should be read more like... by GWBasic · · Score: 3, Insightful

      ... web ads can rob 2 hours from a macbook air's life, the main reason why the battery lasts longer in the no-flash case is because the ads aren't loaded, once all ads move to HTML5 I don't think there'll be that much of a difference.

      Doubtful. The real problem is that Apple can't tweak the Flash runtime to be more CPU efficient. In contrast, they can do whatever they want to their Javascript and HTML engines.

      This is also why I love Chrome. It buckets Flash into a separate process, so when Ads start hogging the CPU, I kill the Flash process.

    4. Re:I think this should be read more like... by Anonymous Coward · · Score: 3, Insightful

      Playing H.264 video via QuickTime on Mac OS X is less CPU intensive than Flash because Apple specifically optimizes their OS and hardware around QuickTime. Not surprisingly, they don't do the same for Flash.

      It wasn't until a recent OS update that Mac OS X even offered APIs to allow other software access to hardware H.264 acceleration - but since Flash doesn't only support OS X 10.6.4, instead opting to support Mac OS X from Tiger on up, those APIs are entirely useless. And until Apple bothers supporting their users who haven't upgraded to the latest and most locked-down, will remain useless.

  4. In other news... by JReykdal · · Score: 4, Insightful

    Using the computer might drain your battery!

  5. Flash ads are CPU hogs. by pushing-robot · · Score: 5, Insightful

    Wow, that's... news.

    --
    How can I believe you when you tell me what I don't want to hear?
    1. Re:Flash ads are CPU hogs. by whiteboy86 · · Score: 4, Interesting

      Ironically, this is not because of the Flash technology itself - as many here might believe, the Flash plug-in binary is incredibly well optimized and does many things so well that would otherwise require GPU-like acceleration. The problem here is that the Adobe editing software allows those non-tech educated "artist" (who create that graphics) to do such a mess with the resources, clogged rendering pipeline and a total misuse of every feature imaginable. They have absolutely no clue what is going on technologically underneath their creations and it shows.

  6. Re:No ABP in OSX? by Anonymous Coward · · Score: 4, Insightful

    Because Safari works far better than FF on OS X?

  7. Not just the Air by bsDaemon · · Score: 4, Informative

    Flash will suck the life out of a battery charge on my MacBook Pro, too, as well as every non-Apple laptop that I've owned recently, too. Interestingly, I don't have that issue if I watch a "raw" mp4 via the QuickTime plugin.

    1. Re:Not just the Air by Darkness404 · · Score: 5, Informative

      Quicktime/iTunes isn't bad when ran on OS X because its pretty much native. Its bloated on Windows because it seems to think that rather than using the things that are already there, you need to install half of OS X to run a program.

      --
      Taxation is legalized theft, no more, no less.
    2. Re:Not just the Air by aristotle-dude · · Score: 3, Informative

      But then you have Quicktime installed, which means you have iTunes installed. No thanks. And people think Adobe software is bloated

      Quicktime is integrated into OS X. Neither Quicktime player or iTunes such on OS X. They are not that bad either on windows unless if you have a crap load of stuff installed and running in the background.

      --
      Jesus was a compassionate social conservative who called individuals to sin no more.
    3. Re:Not just the Air by Darkness404 · · Score: 4, Informative

      On my laptop's Windows partition (Turion 64 x2, Windows XP pro installed, 2 GB of RAM) iTunes is nearly unusable and no, I don't have a lot of junk installed, the only thing other than essential Windows processes that was running was iTunes and it is close to unusable. VLC runs just fine on there, Foobar 2000 runs just fine on there, heck, Windows Media Player runs just fine on there but iTunes is a bloated piece of crap. The only reason I have it is that when I first bought my iPod touch it was the only way you could sync things to it. When you buy a song it takes longer to "process" the file than it does to download the song. And no, I'm not playing HD videos or anything through it, just syncing and playing some music. There is -no- excuse to why iTunes is such a piece of crap.

      --
      Taxation is legalized theft, no more, no less.
    4. Re:Not just the Air by Esteanil · · Score: 3, Informative

      Foobar 2000 is what I use. A lil bit of moseying about to set it up, but it's worth it. Recommend this plugin if you're on Vista+. It helpfully kills all other sounds while your music is playing - oh, and it apparently gives bit-exact output as well, although I'm fairly sure nobody can really hear the difference.

      --
      I'm a dreamer, the world is my playpen. But hey, I'm a serious person, I can't dream all the time.
    5. Re:Not just the Air by Johnno74 · · Score: 4, Informative

      Wow, nice straw man. The registry has nothing to do with itunes suckiness. Itunes is bloated and slow. its a what, 100mb download for a fancy media player and organiser. Winamp, foobar2000, mediamonkey and pretty much every other media player I've used over the years are tons lighter, quicker and just plain work better.

      I mean, itunes can't even automatically pick up new media you put in the media folder on your computer.

      FWIW, the registry is NOT slow. And you don't have to "open the database" to get each setting. When you log on your registry hive is loaded into memory, and its pretty quick. However, it does suck having a bunch of programs settings stored in one binary file, and file associations on windows do suck.

  8. Having it installed cuts the Battery? by drolli · · Score: 4, Informative

    Not blocking it selectively with noscript, flashblock etc. sucks the Battery.

  9. news? by bhcompy · · Score: 3, Informative

    Why is this news? Flash is actively drawn and persistent. It's also known that it is CPU intensive. It's like running a DVD or a videogame. It takes extra CPU cycles and possibly extra components(does Flash utilize a GPU/FPU?) to accomplish these types of things. In a word, duh.

    1. Re:news? by bhcompy · · Score: 4, Insightful

      How about you blame the ad companies for using Flash rather than blame Adobe for making an interactive product meant to enhance web content(which you admit it does)? Or blame the browser companies for not giving the options and/or making it more obvious that dynamic content is being used? Smith and Wesson makes guns. Are they at fault when some gangbanger kills another with a S&W?

  10. Friends don't let friends run flash by dtjohnson · · Score: 5, Insightful

    It's great that someone is finally recognizing this sort of stuff. Think of the millions of kwh wasted all over the world every day running flash on laptops and desktops...not to mention the security issues involved with the 'active' content that the flash player brings to the system. All of this comes from an unlovely company that does not seem to shoulder any responsibility for the software that it looses upon the user community. Okay Adobe, mod this troll, but you can't stop everyone from eventually seeing the light.

    1. Re:Friends don't let friends run flash by dudpixel · · Score: 4, Insightful

      there is nothing about flash (the format) that is all that bad. sure the implementation could be a LOT better, including the plugin, but I think for what it is and considering how long it has been around, its not all bad. Until now, there hasn't been an equivalent on the web, at least not with the same market share. Up until recently, if you wrote a website using flash, you could deliver a rich multimedia experience to a very wide audience. What other choices did you have? not all websites are just about information and plain text.

      I think flash is now reaching end of life, sure, but I also think it has served a purpose, while we wait for web standards to catch up and fully support rich content online.

      One day the web will be an extension of what our desktops can already do...but that day is still a way off...and no HTML5 isn't going to fix this overnight.

      --
      This seemed like a reasonable sig at the time.
  11. And, predictably... by colenski · · Score: 5, Funny

    ...viewing TFA caused a Flash popover ad to appear over the article text. Just sayin'.

    1. Re:And, predictably... by The+Wild+Norseman · · Score: 5, Funny

      ...viewing TFA caused a Flash popover ad to appear over the article text. Just sayin'.

      Yeah, that's okay, I still have just enough battery left to fini

      --
      "A government is a body of people usually -- notably -- ungoverned." -Shepherd Book
  12. Re:No ABP in OSX? by Bassman59 · · Score: 5, Informative

    Why would ANYONE use Safari on Mac when you have FF? ABP and NoScript for the win!

    Ummm, AdBlock is now available for Safari, and Click2Flash neatly dispenses with Flash.

    But, the battery-sucking aspect of Flash is old news.

  13. Flash isn't the problem... by Zouden · · Score: 5, Insightful

    Reinstall Flash and install adblock. Then the story changes to "Ads Can Rob 2 Hours From MacBook Air's Battery Life". But not many ad-supported websites would run with that title, would they?

    This is a complete non-story. It's no surprise that replacing animated content with a static image improves battery life. I would prefer more websites used static content for their ads rather than Flash content. Then maybe I wouldn't block them so much. With AdBlock, having Flash installed makes no difference to how long my battery lasts - but it does make a difference to what I can do on the web.

    --
    "A week in the lab saves an hour in the library"
  14. With cane in hand... by geekoid · · Score: 3, Funny

    "I've be trying to stop Flash for years!" - The Shade

    --
    The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
  15. Wow by WillyWanker · · Score: 4, Insightful

    You mean running animations in the background on multiple pages eats CPU cycles??? Oh noes! Geez, I wonder how Jobs' little darling, HTML5, will manage to do animations without using any CPU power?

    I swear every day it's another retarded "report" about something equally as retarded.

  16. Re:Branding by LSDelirious · · Score: 3, Funny

    Everyone knows the glowing Apple logo is powered by a Mac user's smug sense of superiority!

    --
    Slavery is the legal fiction that a person is property; A Corporation is the legal fiction that property is a person.
  17. Kill Manually by crf00 · · Score: 5, Interesting

    Every time I have used Flash on my Ubuntu, mostly for playing videos, I must manually use the `top` and `kill` command or Chrome's task manager to manually kill the npviewer.bin process. Flash always eats more than 50% of my CPU even long after I have closed all web pages using Flash, only killing it will bring my CPU back to idle and shuts off the noisy laptop fan. There is huge difference in power consumption between an idle CPU and running CPU, that's why for laptop it is best to keep the CPU idle most of the time to save power.

    Now having to kill the Flash process manually is not user friendly at all. I'd imagine that average joes can't do anything on it and have no idea that Flash is the one that causing their laptop fan spinning, heating up, and soaking battery powers.

  18. not really by SpiceWare · · Score: 3, Insightful

    once all ads move to HTML5 I don't think there'll be that much of a difference

    unlike Flash, the browser makers can actually address HTML5 performance issues.

  19. Re:Who would stand to benefit from such a study? by Renderer+of+Evil · · Score: 5, Funny

    There are many beneficiaries when flash eventually bites the dust and becomes a pariah like Java Applets. But I'd like to point out the biggest impact isn't the battery life, it's your crotch. Flash forces laptops to run extremely hot and it invariably burns your nads while you rewind Lady Gaga videos for the 20th time in a row.

    The reason why male sack is situated in-between legs is because it needs to remain a certain temperature to function properly. Evolution never anticipated humans putting hot slabs of electronics on their privates for extended periods of time.

  20. FYI: Updated Flash released today. by antdude · · Score: 4, Informative

    V10.1.102.64 to fix security bugs and not the battery life and CPU issue. ;)

    --
    Ant(Dude) @ Quality Foraged Links (AQFL.net) & The Ant Farm (antfarm.ma.cx / antfarm.home.dhs.org).
  21. Re:No ABP in OSX? by jedidiah · · Score: 3, Funny

    No it doesn't.

    This little benchmark even proves it.

    --
    A Pirate and a Puritan look the same on a balance sheet.
  22. Re:Who would stand to benefit from such a study? by nedlohs · · Score: 5, Insightful

    Evolution never anticipated anything, full stop.

  23. Re:No ABP in OSX? by DurendalMac · · Score: 4, Funny

    Tinfoil hats don't work, you know. You need a copper faraday cage hat.

  24. Re:I use that setup by MichaelKristopeit162 · · Score: 3, Insightful
    seriously, your claims are idiotic.

    there is no correlation between battery life and computer necessity relative to time.

  25. Re:No ABP in OSX? by pknoll · · Score: 4, Informative

    Alternatively, just uninstall Flash. You really don't need it for most of the web these days. (On OSX, it lives in /Library/Internet Plug-ins; you'll want to remove Flash Player.plugin, flashplayer.xpt, and the Shockwave file, I don't remember the name.)

    Click2Flash is a great plugin, I used it for months. The problem with it is that it tells sites you have Flash installed; it just takes over for Flash and then releases content to the real plugin when you click on the box. The downside to that is that you prevent the site from sending alternate content which can be sent if your browser reports no Flash plugin.

    For those sites that won't work any other way, load them in Chrome, which has an internal Flash renderer. When you're done you can quit Chrome and go back to your regular browser, with which you can write a note to the admin of the site you just visited asking them to get their head our of their ass and provide alternate content.

  26. Re:I use that setup by vijayiyer · · Score: 4, Interesting

    Ask yourself the flip question - at what point can you stop carrying your AC adapter (assuming you're not on a multi-day trip)? I've stopped carrying mine, which means I've stopped carrying the laptop bag and associated weight. Now a 3lb laptop really is 3lb, and you can use it more like a notebook.

  27. Re:Who would stand to benefit from such a study? by mcrbids · · Score: 4, Insightful

    Augh! Enough!

    Flash isn't perfect, I'll grant that. But if Flash didn't solve a very real set of problems, it wouldn't be installed on 98% of all computers made!

    Go back just 1 year. Want to watch a video, online, what tool do you use? Want to make an interactive, graphically rich application to deliver via the Internet, what tool do you use?

    See what I'm saying? Sure, flash has its warts. But it does neatly solve a problem that even HTML 5 doesn't do all that well at, yet. And the cost is a bit of CPU time, which has traditionally been considered cheap....

    How many conversations have been ended with: "No need to rewrite your PHP application in C - Hardware is cheap!"? It's the same conversation with Flash! It's highly abstract, platform independent, looks nice, and performs better than any other product available (still!) given these requirements.

    I'm not saying that it couldn't be done better, but even with HTML 5, there still isn't a tool with a better overall combination of features and availability. (Hint: my small company's online training videos are all delivered with flash and FlowPlayer because it actually works - HTML 5 is not even close to universally available, yet)

    --
    I have no problem with your religion until you decide it's reason to deprive others of the truth.
  28. Re:Who would stand to benefit from such a study? by jschottm · · Score: 3, Insightful

    There are many beneficiaries when flash eventually bites the dust and becomes a pariah like Java Applets.

    The problem isn't just Flash, the problem is complicated and interactive ads, which is what advertisers push for (because they work). It doesn't matter which technology is being used, be it HTML5 or Flash, it's still going to suck up CPU time.

  29. Re:No ABP in OSX? by mr_lizard13 · · Score: 3, Insightful

    I was a happy Firefox user for years, before finally switching to Safari when FF became more than unresponsive.

    The problem, according to the many help forums, was I had "too many extensions" installed, and that I should "create a new profile".

    I resented being punished for using the extensions system that Mozilla so heavily promoted, so I switched.

    And now I've got AdBlock back, and use ClickToFlash, 2 extensions which installed right from the web page with no restart required. Now I'm a happy Safari user.

    --
    "We live in a global world" - Harvey Pitt, former Securities and Exchange Commission Chairman
  30. Re:Who would stand to benefit from such a study? by 140Mandak262Jamuna · · Score: 4, Funny

    Evolution never anticipated anything, full stop.

    Oh, yeah? How do you explain evolution anticipating wrist watches by providing us with wrists, pal? Or anticipating the infernal earphones from Apple by provided us with convenient bumps and crags on the ear lobe for it to hang on to?

    --
    sed -e 's/Chuck Norris/Rajnikant/g' joke > fact