Skip to content

Commit

Permalink
Fix only for Jetson Nano total power #51 #344
Browse files Browse the repository at this point in the history
  • Loading branch information
rbonghi committed Jan 25, 2023
1 parent e7e454c commit f4dff79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jtop/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ def _total_power(self, power):
# https://forums.developer.nvidia.com/t/tegrastats-monitoring/217088/4?u=user62045
total_name = ""
for val in power:
if "_IN" in val:
if "POM_5V_IN" in val:
total_name = val
break
# Extract the total from list
Expand Down

0 comments on commit f4dff79

Please sign in to comment.