fx power-viz

Summarize Inspect power events from Power Broker

usage: fx power-viz [-o OUTPUT_FILE] [--natural] [INPUT_FILE]

[flags]
-o: output file path
--natural: plot events against "1 second/second" timeline

[examples]
fx power-viz -o output.txt
  (Loads the snapshot from an attached Fuchsia device and creates HTML output)

fx power-viz -o output.txt /tmp/snapshot.zip
  (Loads the snapshot from given file and creates HTML output)

fx power-viz -o output.txt /tmp/bugreport.zip
  (Loads the snapshot from given file and creates HTML output)

fx power-viz -o output.txt /tmp/inspect.json
  (Loads the snapshot from given file and creates HTML output)

power-viz source code