Hard-code temp sensor #9 for now.

BUG=chrome-os-partner:11977
TEST=Manual

Change-Id: I72d72f68d190c1b44be544952f951d14e2874eaf
Reviewed-on: https://gerrit.chromium.org/gerrit/28682
Commit-Ready: Jon Salz <jsalz@chromium.org>
Tested-by: Jon Salz <jsalz@chromium.org>
Reviewed-by: Vic Yang <victoryang@chromium.org>
diff --git a/py/goofy/js/goofy.js b/py/goofy/js/goofy.js
index 49078a4..93503df 100644
--- a/py/goofy/js/goofy.js
+++ b/py/goofy/js/goofy.js
@@ -1690,11 +1690,10 @@
 
         var temperatures = status['temperatures'];
         var temp = null;
-        if (temperatures && temperatures.length) {
-            var lastTemp = temperatures[temperatures.length - 1];
-            if (lastTemp) {
-                temp = Math.round(lastTemp) + '°C';
-            }
+        // TODO(jsalz): Generalize to select and use the correct
+        // temperature.
+        if (temperatures && temperatures.length >= 10 && temperatures[9]) {
+            temp = Math.round(temperatures[9]) + '°C';
         }
         setValue('goofy-temperature', temp);
         this.lastStatus = status;