pwshub.com

See Real-Time Power Consumption in Ubuntu’s Top Panel

If you’re looking for a no-fuss way to monitor real-time power consumption on your Ubuntu laptop, a new GNOME Shell extension makes it deliciously easy.

“Why would I want to see energy usage?” – anyone asking that question probably doesn’t.

This is more for the curious folk, those interested to see the relative power demands of software being run, the tasks performance, hardware settings, devices connected, and so on – think educational rather than essential.

Of course, anyone can monitor power consumption on Linux without an extension. Command line tools like upower can do it, as can some system monitors, and there are dedicated GUI energy apps, like Power Statistics which is included in Ubuntu.

However, what the Power Tracker GNOME extension offers is a more ambient way to see energy consumption without being focused solely on it. No need to keep an app running and in view, or switch to/from one to check the readings.

Power Tracker GNOME Shell Extension

Monitor power consumption in real time

Power Tracker doesn’t have any additional dependencies so once it’s installed on a laptop (or other device with a battery – desktops work differently1), it should begin reporting stats immediately.

Active power consumption (in watts, with the minus sign denoting that it’s taking that much power) in the top bar. Glance at it as you work to see how different apps, tasks, and hardware features you run/change affect energy demands.

While you don’t get a per-app breakdown or the ability to isolate an app and track its energy usage individually, it give an over of power demands.

You may notice that when you use a specific app a sizeable energy spike occurs (running your battery down) and an alternative app doesn’t. This could lead to you making energy-conscious computing choices.

…Or just giving you some satisfaction from confirming ‘yep, knew that app was a battery killer’.

How high can I fry?

Trying to make energy usage spike turned out to be harder than I though

I opened a bunch of apps, browser tabs, played video and music, connected some USB devices, cranked up screen brightness, and turned on high performance mode to see how high I could make the power usage soar.

All obvious stuff —charging your phone from your laptop’s USB-C ports uses more power than USB-A, who knew!—but it is fun to visualise these otherwise “invisible” power increases in real-time.

Still, this is not a scientific tool. Accuracy isn’t lab-grade. Don’t place too much stock in the stats, or get obsessed with keeping whiting a certain figure. Your laptop is there to function. If a power hungry app is needed, don’t sweat it — even though your battery might ;)

No preferences are included. You can’t change the update interval, prettify the text label, or click the energy label to see a short history of power usage. Not essential features by any means, but similar efforts, like this Plasma widget, offer some of those.

Install Power Tracker in Ubuntu 24.04 LTS

This isn’t an extension you need to leave enabled and running 24/7 (though you can). Much like system monitor extensions, it’ll be most useful for times you have a hunch something is (in this case) using more power, and use it to check.

Interested in goofing around with it too (or using it for a more sober purpose)?

Go try it out!

Power Tracker works with GNOME 46 (Ubuntu 24.04 LTS), and can be installed from the GNOME Extensions website (though it is easier to install from the Extensions Manager app).

• Get Power Tracker on GNOME Extensions

  1. AIUI PCs tend to lack the physical power monitoring doohickeys that laptops (by necessity of running on battery power and needing to control power input) have. This means tools like upower have nothing to probe for info – if I’m wrong, let me know ↩︎

Source: omgubuntu.co.uk

Related stories
1 week ago - The rapid evolution of artificial intelligence (AI) has resulted in a powerful synergy between large language models (LLMs) and AI agents. This dynamic interplay is sort of like the tale of David and Goliath (without the fighting), where...
2 weeks ago - Business process management (BPM) tools help organizations design, execute, analyze, and optimize their business processes. Manual workflow planning and execution are time-consuming and require a lot of effort from employees. Business...
2 days ago - New memory-optimized X8g instances offer up to 3 TiB DDR5 memory, 192 vCPUs, and 50 Gbps network bandwidth, designed for memory-intensive workloads like databases, analytics, and caching with unparalleled price/performance and efficiency.
3 weeks ago - Interactivity is what makes a website come alive. Whether it's a button that reveals more content or a form that responds to your input, these little touches keep users engaged. Traditionally, we've relied heavily on JavaScript to make...
1 month ago - In this tutorial, you'll learn how to create and use full-featured classes in your Python code. Classes provide a great way to solve complex programming problems by approaching them through models that represent real-world objects.
Other stories
11 hours ago - A beta of Ubuntu 24.10 ‘Oracular Oriole’ is now available to download, giving developers and enthusiasts the chance to test and assess and the changes before October’s stable release. Developers and non-developers alike can download this...
11 hours ago - Starting with proto-personas can be better than a blank page, but don’t forget — they’re assumption-driven placeholders for the real thing. Research is key to turning them into true personas. The post Using a proto-persona for UX design...
12 hours ago - In this tutorial, you will learn how to upgrade and refactor your React application to the latest version without having […] The post Migrating to React 19 using react-codemod appeared first on LogRocket Blog.
12 hours ago - This article teaches you how to calculate variance, as well as the tools and software that you need, and common mistakes to avoid. The post How to calculate variance (and why it’s important in business) appeared first on LogRocket Blog.
17 hours ago - On this week's episode of the podcast, I interview Megan Risdal. She's a data scientist and Product Manager at Kaggle, Google's Data Science competition platform. Megan works closely with the global data science community, and on Google's...