4 ms·
Flash 10.1 on Nexus One is not a battery hog
- thehigherlife 17y ago7 hours of rated battery life down to 3 hours with flash? Not a battery hog at all.
- mbrubeck 17y agoThe rated "7 hours of video" is for video stored on the device rather than streamed over the internet; note that the same Nexus One specs[1] claim only 5 to 6.5 hours of internet usage (5hr for 3G and 6.5hr for wifi). It's not surprising that doing both at once will run down the battery about twice as fast. [1]: http://www.google.com/phone/static/en_US-nexusone_tech_specs.html http://www.google.com/phone/static/en_US-nexusone_tech_specs...
- eli 17y agoHeck, I probably only get 4 hours of solid Robo Defense play (a native android app that doesn't access the internet). Keeping that backlight lit is going to use up the battery no matter what you're doing.
- dpcan 17y agoI'm not speaking one way or the other about Flash, but I'm so sick of Adobe/Flash being so pitifully defensive about Flash on mobile devices and the iPad. Someone in the community is going to be a Flash hater. Someone is going to cry about battery life. Flash is on the N1, you win, now start talking about the awesomeness it DOES bring! What kind of company spends this amount of time talking about the crappiest part of their product? An explanation is fine, but to go on and get weird about by talking about potential percentage levels in a few Vimeo videos. That just seems so odd to me. How many of their users actually saw this video?
- tomlin 17y ago"What kind of company spends this amount of time talking about the crappiest part of their product?" There is a lot of BS out there regarding Flash. For example, on HN I can up my karma easily by just hating on Flash. I don't need prove it or show evidence. As long as I am part of the "gang" mentality, then I am welcome to shoot my mouth off. So then there are those who wanna see evidence (crazy people, I know!). We get scenarios like these -- where the debunker must over explain, over analyze and over emphasize to get the message across.
- icco 17y agoAdobe gets so much hate, in my mind, it is worth their time to fight all of the unsupported bs that is thrown their direction. I mean if you called my mother a whore everyday for 10 years to my face, at some point I would punch you. This is Adobe throwing punches. As for Adobe talking about the good parts of their product, they do it all of the time. Read through their other posts on that blog, and you will see all kinds of interesting innovative content such as http://www.flashmobileblog.com/2009/08/12/flash-development-with-android-part2/ http://www.flashmobileblog.com/2009/08/12/flash-development-... http://www.flashmobileblog.com/2010/02/25/acrobat-connect-pro-is-now-on-the-appstore/ http://www.flashmobileblog.com/2010/02/25/acrobat-connect-pr... http://www.flashmobileblog.com/2010/02/03/iphone-testing-geolocation-as3-api/ http://www.flashmobileblog.com/2010/02/03/iphone-testing-geo... and http://www.flashmobileblog.com/2009/11/06/max-award-winners-qnx-video/ http://www.flashmobileblog.com/2009/11/06/max-award-winners-... This is the Flash Mobile blog, there is also a platform blog with a lot of interesting stuff on it as well. I'm not a flash lover, but I think there is something to brand defense, and if that gets them publicity, when their interesting work does not, then why should they stop?
- wayneb 17y agoWhat kind of company spends so much time making direct/fallacious attacks on their competitors instead of just talking up the best parts of their product? Apple. Apple has directly put both Microsoft and Adobe on the defensive. This time it's because of a recent, widely aired comment made by Steve Jobs about battery life. Apple is the aggressor here, they are the one's being dicks. I don't hate on anybody for defending themselves unless they lie about the facts. Aggressors who lie are the worst though.
- mambodog 17y agoGreat, Adobe, so you are able to code something properly. So now maybe you'll think about addressing the Mac and Linux plugins? Which are still horrible?
- shade 17y agoI don't know about Linux, but the 10.1 plugin for the Mac (currently in beta) I believe is supposed to have significantly better performance -- ahead of the Windows version, in some cases. I may have to install the beta and test before I sell my MacBook...
- danudey 17y agoI've got it installed, actually, so I can give some basic feedback. 10.1 is definitely faster when playing h.264 movies. I used Vimeo as an example, and CPU use by Flash alone went from ~95% to ~85%. Hooray! It also seems like it might be more responsive playing other content, but I don't really do that because most other Flash content is junk. Note, if anyone is thinking of trying it out: some websites don't work because they check that your Flash version is '10' and not '>= 10'. A friend who upgraded had to use a website that required flash, but was unable to. This is obviously a developer problem, not a flash problem, but be aware. Oh, and you can't downgrade. Once you upgrade, you're stuck (unless you are willing to dig around). In the end, I don't care. I already block flash because most uses of flash are obnoxious and irritating; now with 10.1, I can block a newer, more responsive version of Flash. Sorry Adobe, it's great that you're pretending you care and all, but it's too little too late. You've ignored us for years, you stuck us with a shitty Flash player and now you're telling us how lucky we are to have had it. I'm done with you.
- bbatsell 17y agoYou definitely can downgrade — you just have to download the uninstaller from Adobe's website [1] before reinstalling 10.0. After giving 10.1 a try and it being so ridiculously buggy, I had to give up. [1]: http://kb2.adobe.com/cps/141/tn_14157.html
- 17y ago
- kylec 17y agoInstead of blogging about it, they need to release it so we can see what it's like for ourselves.
- tomlin 17y agosteve jobs lied? wtf, really?
- ynniv 17y agoThis is a deceptive demonstration. The video is H.264, which can be hardware accelerated on many chipsets. This means Flash may be doing very little work, and undermines their goal of showing that Flash is an efficient runtime. A more revealing test would be a traditional FLV, since the argument for Flash is that it supports "innovation" and wrapping open, hardware accelerated formats is rather later in the game. The performance test I want to see is the most common one: a text page with a Flash banner ad, versus a text page. Adobe would never show it because this (most common) scenario is the worst case. What would be a 1% CPU situation becomes something between 5% and 100%, based entirely on the (in)competence of the (poorly compensated) designer who slapped it together for the ad agency.
- wayneb 17y agoInterestingly enough, Apple doesn't even allow developers to use the Mac OS's hardware acceleration for video. I assume that is also the case with the iPhone OS which is based on OS X. Is it not? To me, this highlights one of the drawbacks to developing for Apple's platform. Also, Apple could support the most common Flash scenario (flash video) very easily by using "click to activate" in Webkit. So then if you have a webpage with 20 flash banners on it, they are not all running simultaneously. I agree that you could still make a Flash game or animation that could use a lot of CPU, but Apple also has the ability to throttle the amount of resources that a single process can take up. In my opinion, Apple just doesn't want to lose control, as usual.
- tomlin 17y agoI see your point, however, I don't see a compared alternative. If you had compared it to a canvas-driven animated banner or a HTML5+JS driven video player perhaps? Still 1%? Doubtful.
- ynniv 17y agoI doubt that anyone would seriously employ a canvas based video player with the advent of the HTML5 video tag. However, your implication that JS can also chew up CPU is valid. I have no defense except to say that the browser vendors have fine grained control over JS, while Flash is an opaque box. For instance, the browser could restrict setTimeout to a lower framerate, which has a different (better) effect than simply limiting the CPU.
- danudey 17y agoI find it interesting that the example they use is 'playing h.264 video', something which the Nexus One can do hardware-accelerated. How many hours of actual animation does it get when it doesn't get to offload 90% of its work to dedicated silicon?
- jrockway 17y agoOK, but it's still proprietary and closed-source. Fix that, then we can worry about how much battery it uses.
- tomlin 17y agoThen can we also look at how far the standard would have advanced as open-source? Maybe considered that H.264 is in fact NOT an open standard? I want to live in the magic world where open-source development moves as fast as proprietary as well, but I can't.
- Daishiman 17y agoYou must love working with IIS.
- tomlin 17y agoIIS is terrible. Microsoft innovates at the speed of open-source. No contest there.
- jrockway 17y agoThere are plenty of Free implementations of H.264.
- tomlin 17y agoWho's using them? Adobe isn't. Firefox, WebKit? Nope.
- jrockway 17y agoChromium on Linux uses ffmpeg's (open-source) h.264 implementation. Firefox doesn't use it because they are making a policy stand, "Theora or nothing." Technically, h.264 would work fine, it would just be illegal to distribute in countries with software patents. mplayer also uses ffmpeg's h.264 code, and I am sure VLC does too. In other words, every open-source video application that can play h.264 uses an open-source h.264 implementation. Remember, there are no technical problems with h.264. It is a good algorithm with plenty of good (and Free) implementations. The problem is that the group that patented h.264 wants money every time you encode a video with h.264, upload a video encoded with h.264, and play a video with h.264. Because the Internet will suck when this happens, people are trying to ensure it doesn't. (Killing Adobe will help, because they make money from giving away h.264 licenses that they already paid for, and hence are demanding that Theora not be in the HTML5 spec they are writing.)
- pierrefar 17y agoThis sentence: "Bloggers ... spent a little more time than expected studying the battery indicators, as opposed to the incredible advancements in web browsing for mobile phones." Having Flash on my mobile is not an advancement in web browsing, on mobile or desktop: People block Flash for a reason, and that sentence just comes across as arrogant.
- roc 17y ago> Without optimizing your applications, Flash or otherwise, they can perform badly on any platform this is 101 for any software developer. Don't the two paragraphs following that quote pretty much gut Adobe's standard pitch? That we need Flash on mobile devices so we can access content that already exists on the web? Their own evangelists are (rightly) recommending that anyone serious about a mobile product needs to design and test for those devices and that simply pointing a touch-based mobile at an flv designed for PCs with keyboards and mice is not going to work. But that being the case, why isn't the argument for Flash about its comparative advantages vs per-device apps, HTML5, etc? It's not as if there isn't a compelling and rational case to be made there.