forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/Documentation/ABI/stable/sysfs-bus-usb
....@@ -50,8 +50,10 @@
5050
5151 Tools can use this file and the connected_duration file to
5252 compute the percentage of time that a device has been active.
53
- For example,
54
- echo $((100 * `cat active_duration` / `cat connected_duration`))
53
+ For example::
54
+
55
+ echo $((100 * `cat active_duration` / `cat connected_duration`))
56
+
5557 will give an integer percentage. Note that this does not
5658 account for counter wrap.
5759 Users: