Skip to content

Commit

Permalink
Resource Monitor 17.05, uptime added. fixes #2
Browse files Browse the repository at this point in the history
Signed-off-by: Joseph Lee <[email protected]>
  • Loading branch information
josephsl committed Apr 30, 2017
1 parent 4d475a6 commit e2406ee
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addon/globalPlugins/resourceMonitor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def toBiggestBytes(n, x=2, useLongNames=False):
else: return res+units[i]

def tryTrunk(n):
#this method basically removes decimal zeros, so 5/0 will just be 5.
#this method basically removes decimal zeros, so 5.0 will just be 5.
#If the number ends in anything other than a 0, nothing happens (if the trunkated number is not equal to the decimal).
if n==int(n): return int(n)
return n
Expand Down
2 changes: 1 addition & 1 deletion buildVars.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# Translators: Long description to be shown for this add-on on add-on information from add-ons manager
"addon_description" : _("A handy resource monitor to report CPU load, memory usage, battery, disk usage status and more."),
# version
"addon_version" : "17.04",
"addon_version" : "17.05",
# Author(s)
"addon_author" : "Alex Hall <[email protected]>, Joseph Lee <[email protected]>, beqa gozalishvili <[email protected]>, Tuukka Ojala <[email protected]> and other NVDA contributors",
# URL for the add-on documentation support
Expand Down
4 changes: 4 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ This add-on does not replace task manager and other system information programs
* CPU usage is given for logical processors, not physical cores. This is noticeable for processors which uses Hyper-Threading where number of CPU's is twice the number of CPU cores.
* If there is heavy disk activity such as copying large files, there might be delays when obtaining disk usage information.

## Version 17.05

* Announcement of system uptime (time passed since last boot; NVDA+Shift+7).

## Version 17.02

* Updated psutil dependency to 5.0.1.
Expand Down

0 comments on commit e2406ee

Please sign in to comment.