nisha jain wrote: > Hi Auke, > > Thanks, I need to get information more frequently so i need to set the > timeout value much lesser where currently it is set to 10 s. > Please let me know how i can achieve this as i need to draw the c states and > p states curves with time and the power > curve drawn from battery.
well, that's not what powertop is meant for. if you want that information, and accurately, you're probably better off doing either of the following: - use powertop's batch mode instead - write your own C/P state and power consumption logger (all the information is in sysfs) The latter approach would be more suitable since you get to ignore all the process data and suggestions that powertop does at each interval, which add considerable overhad. That's also the reason this isn't done by default: shorter intervals make powertop less accurate quickly. Auke _______________________________________________ Power mailing list [email protected] http://www.bughost.org/mailman/listinfo/power
