projects / phoronix-test-suite.git / commitdiff
Build Results
 
Summary

Description: Phoronix Test Suite open-source benchmarking development
Last Change: Fri 3/27/15 12:22

Recent Commits
Time
Signed-Off By
Description
Commit Diff
Fri 3/27/15 12:22
Michael Larabel  
phoromatic: Add "System... 
Fri 3/27/15 9:28
Michael Larabel  
phoromatic: Only show... 
Fri 3/27/15 9:25
Michael Larabel  
deploy: Add the... 
Fri 3/27/15 9:12
Michael Larabel  
phoromatic: Always unset... 
Thu 3/26/15 19:10
Michael Larabel  
phoromatic: Make... 
Thu 3/26/15 17:52
Michael Larabel  
phoromatic: Now expecting... 
 
> --git a/pts-core/objects/phodevi/sensors/sys_power.php b/pts-core/objects/phodevi/sensors/sys_power.php
index ff2ffd8
..778411e 100644
--- a/pts-core/objects/phodevi/sensors/sys_power.php
+++ b/pts-core/objects/phodevi/sensors/sys_power.php
@@ -194,+194,@@ class sys_power implements phodevi_sensor
             
{
                 
$voltage_now pts_file_io::file_get_contents('/sys/class/power_supply/BAT0/voltage_now') / 1000;
                 
$current_now pts_file_io::file_get_contents('/sys/class/power_supply/BAT0/current_now') / 1000;
-                
$power_now $voltage_now $current_now 1000;
+                
$power_now $voltage_now $current_now 1000;

                 if(
$power_now 1)
                 {
<
 
Phoronix.com
Linux Driver Forums
Copyright © 2015 by Phoronix Media