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

Description: Phoronix Test Suite open-source benchmarking development
Last Change: Sat 9/5/15 11:19

Recent Commits
Time
Signed-Off By
Description
Commit Diff
Sat 9/5/15 11:19
Michael Larabel  
pts-core: Just mention... 
Sat 9/5/15 8:50
Michael Larabel  
pts-core: Typo for... 
Sat 9/5/15 8:46
Michael Larabel  
pts-core: Fix for... 
Fri 9/4/15 14:02
Michael Larabel  
 
Fri 9/4/15 13:58
Michael Larabel  
 
Fri 9/4/15 13:56
Michael Larabel  
pts-core: Rename emalloc... 
 
> --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 © 2016 by Phoronix Media