this post was submitted on 20 Dec 2023
280 points (97.6% liked)
Linux
48224 readers
980 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I have a 1½-year-old laptop AMD Ryzen 6860Z processor & get 9 hours on the regular running NixOS doing programming/browsing/chat. That’s not quite 8 hours with 30% to spare, but good enough that I don’t worry about carrying my charger (but being lightweight GaN, normally keep it in my bag just in case). Apple folks have this tendency to think all their hardware is massively better, but even if it’s ‘better’, it’s often just by a small margin that doesn’t make a big difference--especially when you factor in cost.
I did some actual measurements just to confirm it, here is minecraft in default configuration running @ 100fps and the cpu+gpu consumption is around 6w in total. If you add about 5w for display backlight and other components the total would be 9-10 hours of play time on my 100wh battery.
https://imgur.com/a/C5QuC9v
Can you please take the same measurements on your system? Maybe ryzen system is better than intel, never had one.
I don’t own Minecraft (nope to Microsoft-owned software) nor would I have a reason to do 3D gaming on a battery… are you gaming at a café, the library, or something?
For example when watching 1080p youtube video in Safari the power consumption is only 0.1watt because it's using hardware decoders. (not including display backlight, I can't measure it). But when I play the same video in firefox which is using software decoding the consumption is around 0.7w which is not as good as hw decoders, but still less than a watt
no, it's just an easy sustained load that can be measured accurately. If you have some other application that provides sustained load but doesn't spin all the cores to 100% please suggest it, I will try.