FX 能量摘要

總結檢查 Power Broker 的電源事件

usage: fx power-digest [--csv] [-o OUTPUT_FILE] [INPUT_FILE]

[flags]
-o: output file path

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

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

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

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

電源摘要原始碼