Cameron

Results 27 comments of Cameron

I figured it out we can use ohms law by taking .../BAT0/voltage_now and multiplying that by .../BAT0/current_now to find the wattage

See https://github.com/polybar/polybar/blob/master/src/modules/battery.cpp ```c // Make consumption reader m_consumption_reader = make_unique([this] { float consumption; // if the rate we found was the current, calculate power (P = I*V) if (string_util::contains(m_frate, "current_now"))...

> > I figured it out we can use ohms law by taking .../BAT0/voltage_now and multiplying that by .../BAT0/current_now to find the wattage > > > > > > Yea...

> > > > I figured it out we can use ohms law by taking .../BAT0/voltage_now and multiplying that by .../BAT0/current_now to find the wattage > > > > >...

I'm curious what the use case would be here, would anyone realistically want to be notified every single time the governor is changed?

An implementation hurdle I just reached was the fact that you cannot send a notification as root. This means auto clock speed would need to have a second, user level...

![20240222_12h17m44s_grim](https://github.com/JakeRoggenbuck/auto-clock-speed/assets/57497866/6d58fd57-256f-4fd0-a7a9-62a4a3372bec) Seems like the issue is with a certain thermal zone not reading properly on my system, I bet it is a known issue with my outdated firmware/bios which I...

Update: the thermal zone is now working and auto clock speed is functioning as expected now. We for sure need to improve error handling on this front because acs should...

> i think it already is, linux defaults itself to base clock on battery Mine doesn't? It is also present in our reference project https://github.com/AdnanHodzic/auto-cpufreq

> We should take the package temp for the cores that the temperature doesn't work on What do you mean by package temp?