power controller devices

hi,

i am try to create command …like lscpu…lsusb …type…for lspow

it will show like

in command line
$lspow

input voltage:
current:
cpu frquency:
clock:
temp:

how can access this value or information…

where is main source code for this parameter it maintning…

Hi,

Why not just use our tegrastats app?