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

Description: Phoronix Test Suite open-source benchmarking development
Last Change: Mon 7/27/15 14:05

Recent Commits
Time
Signed-Off By
Description
Commit Diff
Mon 7/27/15 14:05
Michael Larabel  
pts-core: Show estimated... 
Fri 7/17/15 17:37
Michael Larabel  
phoromatic: Go between 60... 
Wed 12/31/69 19:00
ddcbdc77fb78eec13f77b6fd21f394f08df62395  
Merge branch 'master' of... 
Sun 7/12/15 14:10
Michael Larabel  
pts-core: Support... 
Wed 7/1/15 12:31
Michael Larabel  
pts-core: Few render... 
Mon 6/29/15 16:11
Michael Larabel  
phoromatic: Set the... 
 
> --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