On Wed, 6 May 2026 04:22:21 -0700 Marc MERLIN <[email protected]> said:
what is the state you want to achieve? is this screen off (dpms) or dimmed or fully on i.e. active you doing things? there is no such rpc - so no point looking for it. what e does to is listen to things going on like screen blanking, or timeouts after idle and dimming things. anything polling will be fairly slow polling - every few SECONDS maybe every second at worst. if anything updates on screen at all it involved e (the wm/compositor) waking up and having to deal with it (over several series of wakeups). e will watch your ac vs battery state and set an internal powersv level and adapt internally to save power. if you had a less ancient e you'd have a cpufreq popup on the gadget with a slider to set various power levels (from powersave through to balanced low, balanced hi and performance). so first... what's the usage scenario? > Howdy, I'm trying to optimize battery use on my Dell XPS 17", and gemini > points out: > Why the Package is still stuck at C3 > Since the GPU is sleeping (RC6), we can definitively narrow the "Package C3 > Lock" down to the remaining high-frequency interrupt sources in your log: > > I2C/Touchpad (idma64.1): > (Fact) This is still firing 183.5 - 209.7 events/s. > (Inference) In Intel's Power Management architecture, the I2C bus is a > "Primary Bus." If it is active 200 times a second, the CPU Package (the whole > silicon die) refuses to drop from C3 to C8 because it anticipates needing the > I2C controller again immediately. > > The No-HZ Timer (tick_nohz_handler): > (Fact) Still at 123.2 - 160.6 events/s. > (Inference) This is usually driven by a background process with a > high-resolution timer. Even with Chrome dead, something is asking the kernel > for sub-10ms wakeups. > > My Updated Recommendation > (Fact) Your hardware is now in a "Gold" state. 10W-12W on a 17-inch 4K laptop > is solid, but we are chasing the sub-8W goal. > > The Touchpad Test: If you have a USB or Bluetooth mouse, physically disable > the touchpad (or modprobe -r i2c_designware_platform if you're feeling > adventurous as root). If idma64.1 disappears from PowerTOP, your Package > should instantly hit C8. > > Enlightenment Gadgets: Your enlightenment process is still using 127.6 ms/s. > This is the only "heavy" userspace process left. It is likely the source of > those tick_nohz_handler wakeups. > > > It looks like I may be a bot out of luck with the touchpad, but can I signal > E to stop all unnecessary hardware polls from any gadget or widget without > stopping the entire process (which of course, would make Xorg hard to use) > > Thanks, > Marc > -- > "A mouse is a device used to point at the xterm you want to type in" - A.S.R. > > Home page: http://marc.merlins.org/ | PGP > 7F55D5F27AAF9D08 > > > _______________________________________________ > enlightenment-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/enlightenment-users > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- Carsten Haitzler - [email protected] _______________________________________________ enlightenment-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-users
