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

Description: Phoronix Test Suite open-source benchmarking development
Last Change: Tue 10/28/14 19:38

Recent Commits
Time
Signed-Off By
Description
Commit Diff
Tue 10/28/14 19:38
Michael Larabel  
pts-core: Add 3840 x 2160... 
Sat 10/25/14 20:09
Michael Larabel  
phoromatic: Implement... 
Sat 10/25/14 20:02
Michael Larabel  
phoromatic: Improve... 
Fri 10/24/14 15:59
Michael Larabel  
phoromatic: 4 username... 
Fri 10/24/14 12:06
Michael Larabel  
phoromatic: Add today's... 
Fri 10/24/14 11:52
Michael Larabel  
phoromatic: Add a... 
 
> --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 © 2014 by Phoronix Media