Thursday, November 26, 2015

By the Power of .... um Elections ? (Or how to monitor battery life performance)

Introduction

This post was triggered by three issues with my mobile devices.
  • Unpredictable battery life from my iPhone 4s
  • Constant cooler fan operation on my notebook (Samsung NP350U2B) is noisy and annoying
  • Lower then expected battery life from my new tablet (Asus VivoTab 8 M80TA)
The basic solution for all of these was to;
  • Use battery logging software, 
  • Apply a bit more discipline in the daily use cycle
    (eg charge at night, run all day to near shutdown, only top up charge if needed)
  • Be more mindful of what apps are being used relative to battery life performance. 
In a bit more detail for each device

iPhone 4s

My phone was purchased in late 2011 so is currently about 4 years old and probably about double the expected life span of any fanboy (or girls) expected utilisation. So I guess this means I have some interesting problems and Apple really doesnt care given their lack of responise to the only support avenue available to me.

I have been a long time user of Battery Life Pro (by Kdan Mobile Software) but I am not sure if it is still available on iTunes. Its a useful little utility which can be used to log your battery percentage over time (little quirk you have to look at the batter graph or it will not log the data!).  This data can be accessed using a tool like CopyTrans to access the Batter Life pro documents sandbox which contains the settings.plist file which store the battery log data in XML.

What this has shown me is how quickly the battery is discharging. What I have noted is that apart from obvious use, it has good and bad days with really no rhyme or reason. I think this is primarily due to two reasons.
  • Poor cellular coverage so it is connnected and disconnecting a lot.
  • Misbehaving apps that are chewing up more then they should.  This can be monitored using Settings|General|Usage|Battery Usage by comparing the 24h usage to the 7 day usage.
  • High motions sensor usage if being moved around a lot while using sensor based apps
I have also recently started to use Battery Doctor (by KS Mobile) which is a useful utility to monitor what days you have part or fully charged your battery. Since I have started doing this I have noticed less crashing from high percentages on my battery.

I realise this is an "old" phone and the problems might not apply to many but the tecquires could be used to trouble shoot other battery problems.  I might go to the local Apple shop and torture them at some stage and will update if I get a better response then just buy a new phone.

Notebook and Tablet

These two devices are operating Windows 7.0 and 8.1  respectively. I have found some useful programs that I have used identify excessive and ensure a more normal level power usage.

Resource Monitor

This app is built into windows and can be accessed via the Search function for "Resource Monitor" or as a button on the Performance tab of Task Manager.  This app gives an over all picture of CPU, network and drive access as well as a list of applications individual utilisation. If you sort these by Average you can get a clear idea of who are the primary hogs.

Open Hardware Monitor

Open hardware monitor is a useful app to monitor depending upon your available hardware sensors things like CPU speeds/temperature/load%/power, hard drive temperature and RAM memory load%/actual used or available.  This can be used to monitor up to the previous 24h and logs to a daily file if so desired.  Things I find useful from this;
  • Notice the amount of time the CPU cores go into Turbo mode, or strange cycles or sustained periods of high CPU speed.
  • CPU speed features are not always correlated to CPU load.
  • CPU temperature is a good indicator of load and the HD temperature is not a bad indicator of ambient temperature.

BatteryMon 

BatteryMon (by Passmark Software) is a great program to monitor your battery discharge rate in real time. It gives you a visual indication of discharge and other stats such as time running, time remaining etc. It can also log to a file.

Powercfg

In windows 8.1 (not 7) powercgf has a -batteryreport option that produces a detail battery report including graphics in HTML.  This is useful as it seems to continue to operate when in Sleep mode so you can monitor drain during this time (eg identify its really asleep, not still on wifi etc).

Just a temporary check to a HTML report file that will be over written use the following batch.

powercfg /batteryreport
"C:\Program Files\Internet Explorer\iexplore.exe" c:\users\pac\battery-report.html 

As the report only goes back three days, I have also written a batch that can output to a report file with the current date and time.

set hour=%time:~0,2%
if "%hour:~0,1%" == " " set hour=0%hour:~1,1%
;echo hour=%hour%
set min=%time:~3,2%
if "%min:~0,1%" == " " set min=0%min:~1,1%
;echo min=%min%
set secs=%time:~6,2%
if "%secs:~0,1%" == " " set secs=0%secs:~1,1%
;echo secs=%secs%

set year=%date:~-4%
;echo year=%year%
set month=%date:~7,2%
if "%month:~0,1%" == " " set month=0%month:~1,1%
;echo month=%month%
set day=%date:~4,2%
if "%day:~0,1%" == " " set day=0%day:~1,1%
;echo day=%day%
set dayL=%date:~0,3%
;echo dayL:=%dayL%

set datetimef=%year%%month%%day%_%hour%%min%%secs%_%dayL%

echo datetimef=%datetimef%

powercfg /batteryreport /output %1%datetimef%.html
"C:\Program Files\Internet Explorer\iexplore.exe" %userprofile%\%1%datetimef%.html 

Battery Bar Pro

Battery Bar Pro is an excellent tool to see the resulting instantaneous usage of your battery in your task bar.  You can set up in Preferences that  click on the battery bar icon you can toggle between current power consumption, time remaining, percent remain (and battery capacity in mAh which is not much use really).

I use this frequently on the power consumption setting like a speedometer for my battery. I know what speed (power discharge rate in watts) I should be going at and make sure its not over by too much.  Being able to quickly toggle to get an estimated time left on battery is useful too.

Tuesday, August 25, 2015

Feature Based Computing

Continuing on from my earlier discussion on the lack of performance increase of CPU's driving up update cycle, I have found its more feature based reason that are now driving my update cycle.
  1. Form Factor - I have a need for wearable hand held, tablet, mobile and desktop.
  2. Open Ecosystem
  3. All Day Computing
  4. Mobile Connection
Form factor Wearable HandHeld Tablet Mobile SFF
Desktop
Smart
Device
Size 1" 4-6" 8-10" 10-13" 15-19" None
Weight <50g <150g <300-600g <1500g <3000g <300g
Battery Life 7-10 day 1-2 day 5-10h 5-10h mains mains
Data BT/WiFi/ANT+ Mobile/Wifi Wifi Wifi/LAN Wifi/LAN Wifi/LAN
Current Fitbit One/
Misfit Flash/
Garmin
Forerunner
910XT
iPhone 4sAsus
Vivotab
Note 8
Samsung
NP350U2B
Dell
Optiplex
GX520
Raspberry Pi
/Pi 2
Geekmark 215/405 765/2573 2010/4174 796/956 294 & 1311
Ram 512KB 1GB 2GB 4GB 8GB 512KB
Storage 1GB 32GB 64GB 750GB 3TB 8GB

Thursday, August 13, 2015

The Future Apocalypse is Already Here

Call me cynical but we are already on the brink of the apocalyptic future but its not just one apocalypse like the movies. Its all of them!!!
  • Zombie App where everyone has guns and is shooting each  other (aka the United States)
  • Corporation Wars where mega corps fight for domination through escalating trade wars (aka Google, Apple, Microsoft, Samsung, etc)
  • Skynet where technology and intelligent systems pervade our lives (aka mobile phones, smart things, internet of things, etc)
  • The Matrix is where the population is passivated by the dumbing down of life (aka Cloud Computing, web services, etc)
  • Global Pandemic where a viscous biological agent threatens the existence of all life (aka the pathogen is the Human Beings!)
About the only one I have missed is Alien Invasion as far as I know that has not happened .... but I live in hope. Please resume wearing your tin foil hats!

Tuesday, July 14, 2015

CPU Power Sagnation

A while a go (2008) I did a study on what drove me to upgrade my computer (the large green circles with date and MIPS labels). Typically I found this was around 5 to 10 times the speed of my previous computer was the tipping point to buy a new computer.  This has typically meant a three year life cycle for my computers.

I determined this from a simplistic analysis of the Drystone (MPS) benchmarks over the history of my computer life (roughly since 1982). Interestingly enough there seems to be a power function which has a reasonable fit over time for both the Drystone results and processor speed MHz.


My reason for revisiting this study is lately I have been underwhelmed by the latest mobile CPU's coming out from Intel and feel they have been stagnating or in some cases going backwards in performance. Interestingly enough I came across a similar study that concluded a 52% yearly increased per year prior to 2004 and 21% post 2004.

Even though my data is obviously much sketchier I think you can see a similar change in gradient pre and post 2004.  An interesting point is that we both developed similar graphs independently of each other pretty much interrogating the same questions about rate of change of CPU speed.


When you put these rates in terms of my tendency to update every 3 years it becomes quite dramatic. As you can see why I am questioning my normal 3 year update may now be a 5 year update.


1 Year Performance Improvement 3 Year Performance Improvement 5 Year Performance Improvement
Pre2004 1.52 3.44   7.85
Post2004 1.21 1.77    2.59

Interestingly enough my intuition that there was something going on with CPU speeds was enough to perk my interest sufficiently to investigate my computer upgrade history was only a few years after the 2004 tipping point observed in the study above.

I guess I am not the only one with shrinking  consumer demand and pushing product cycles.  Call me cynical ... is Intel's delay due to production or to extend current product life cycle.

Saturday, July 11, 2015

Beyond Maturity

Since the development of the Capability Maturity Model Integration (CMMI) by the Carnegie Mellon University Software Institute (SEI) and the US Air Force, every man and their dog have come up with their own maturity index's that are essentially the same as or close to the CMMI.

My premise is that there must be something beyond a simple assessment of a management process and I think that is the actualisation of that management process.  The idea is to not measure the theoretical effectiveness the organisation's management process but to measure how productive and effective is the output of the management process. ie the value of rapid actualisation.

 I think this draws some broad similarities to the ISO System Engineering, Design for Six Sigma, AGILE, CMMI and my own rapid value actualisation method.

ISO 15288 Six Sigma AGILE Capability Maturity Model Assessment Rapid Value
Actualisation
Stakeholder Requirements Definition Process
(Clause 6.4.1)
Requirements Analysis Process (Clause 6.4.2)
Define Discovery Initial Benefits Identification/
Earned Value Framework
Architectural Design Process (Clause 6.4.3) Measure Design Managed Model Based Design
Implementation Process (Clause 6.4.4)
Integration Process
(Clause 6.4.5)
Verification Process (Clause 6.4.6)
Analyse Develop Process Defined Rapid Prototyping/
Initial Benefits/EVM
Transition Process
(Clause 6.4.7)
Validation Process
(Clause 6.4.8)
Design Integrate & Test Quantitatively Managed Change Management
Operation Process
(Clause 6.4.9)
Maintenance Process (Clause 6.4.10)
Disposal Process
(Clause 6.4.11)
Verify Release Optimised Application Implementation/
Benefits Realisation

I would have liked to have worked Prince2 into the above table but its more a management framework to be overlaid onto a product development cycle. This article has the best view I have seen of the seven Prince2 Management processes.



Although this article does have a good view on overlaying Prince2 onto a project/product development process.

Saturday, January 10, 2015

Gran Turismo 6 Update History

Just a quick summary of GT6 Updates.

Version Date Days Details Size Link
1.01 05/12/2013
Brings Vision GT, Online Features, & More 1200 http://www.gtplanet.net/gran-turismo-6-update-1-01-now-available-brings-vision-gt-online-features-more/
1.02 18/12/2013 13 Now Available: Red Bull X Challenge, Login Credit Bonus & More 1200 http://www.gtplanet.net/gt6-patch-1-02-christmas-update-now-available-red-bull-x-challenge-login-credit-bonus-more/
1.03 22/01/2014 35 These include the BMW M4, the Toyota FT-1 concept, and Mario Andretti's 1948 Hudson stock car 99 http://www.gtplanet.net/gran-turismo-6-update-1-03-now-available-brings-toyota-ft-1-concept-bmw-m4-interior-and-new-seasonal-events/
1.04 28/01/2014 6 added four new cars: the Mercedes-Benz AMG Vision Gran Turismo Racing Series (a racing-modified version of the Mercedes-Benz AMG Vision Gran Turismo), the Corvette Stingray GT Concept '13 (a tuned version of the Corvette Stingray shown at SEMA 2013) and two variants of the Gran Turismo Red Bull X2014 (a venturi car and a fan car to complete the X2014 series) 214 http://www.gtplanet.net/gran-turismo-6-update-1-04-now-available-brings-corvette-stingray-gt-concept-new-red-bull-x-challenges-amg-vision-racing-series-more/
1.05 01/03/2014 32 added multi-monitor support 100 http://www.gtplanet.net/gran-turismo-6-update-1-05-brings-multi-monitor-support/
1.06 07/04/2014 37 Brings GPS Visualizer, 3D Compatibility, Custom Rear Wings & More 295 http://www.gtplanet.net/gt6-updated-1-06-brings-gps-data-visualizer-3d-compatibility-custom-rear-wings-more/
1.07 14/05/2014 37 few minor functionality tweaks to online mode, the BMW Vision GT car 961 http://www.gtplanet.net/update-v1-07-released-brings-bmw-vision-gt/
1.08 30/05/2014 16 Ayrton Senna Tribute Content, Mitsubishi Vision GT Car 1400 http://www.gtplanet.net/gt6-update-1-08-released-ayrton-senna-tribute-content-mitsubishi-vision-gt-car/
1.09 18/06/2014 19 which included the Red Bull Ring circuit, the Toyota TS030 Hybrid, the Lexus IS F CCS-R, and the Nissan GT-R Nismo GT3 driven by Nissan GT Academy graduates in the Blancpain Endurance Series, Volkswagen Vision GTI 598 http://www.gtplanet.net/gran-turismo-6-v1-09-update-arrives-includes-red-bull-ring-and-more/
1.10 25/07/2014 37 two highly anticipated Vision GT project cars from Aston Martin DP-100 Vision Gran Turismo and Nissan CONCEPT 2020 Vision Gran Turismo, Brake Caliper Paint, More Car Number Customization Options and Engine brake reduction control on formula cars disabled 2100 http://www.gtplanet.net/gt6-update-110/
1.11 06/08/2014 12 improvements to mutli-monitor and open lobby 30 http://www.gtplanet.net/gran-turismo-6-update-1-11-brings-improvements-to-multi-monitor-and-open-lobbies/
1.12 16/09/2014 41 Toyota unveiled a version of the FT-1 concept car with new colors and interiors, which was later named the "Toyota FT-1 Graphite", Nissan GT-R Nismo R35
and a new 27 km original track based in Zahara de la Sierra.
484 http://www.gtplanet.net/gt6-update-1-12-released-includes-new-track-new-online-features-new-cars/
1.13 01/10/2014 15 to address numerous glitches and bugs 9.5 http://www.gtplanet.net/gt6-update-1-13-released-fixes-numerous-software-bugs/
1.14 19/11/2014 49 was released, featuring a special safety car based on the BMW M4 Performance Edition, Subaru VIZIV GT Vision Gran Turismo, an update to Suzuka Circuit to its current specifications, added events to the Sierra Time Rally, compatibility with MoTec i2 Pro/NissanConnect Nismo Plus GPS Data visualistion added, and other improvements and adjustments (incl [Onboard Mic Position], more tuning options for BMW M4 '14, etc) 548 http://www.gtplanet.net/gran-turismo-6-114/
1.15 17/12/2014 28 Brings Chevrolet Chaparral 2X Vision Gran Tursimo & Infiniti Vision Vision Gran Tursimo (VGT) Cars 589 http://www.gtplanet.net/gt6-update-115/
1.16
(preview)
24/12/2014 7 Adds Mazda LM55 Vision Vision Gran Tursimo
http://www.gtplanet.net/mazda-lm55-vision-gran-turismo-introduced-in-holiday-update-for-gt6/
1.16
25/02/2015
70
Midfield Raceway, B-Spec, & MINI Vision GT, New Paint Feature
 536 https://www.gtplanet.net/gt6-update-1-16-now-available-midfield-raceway-b-spec-mini-vision-gt/
1.17 18/03/2015 21 Brings Lexus & Alpine Vision GT Cars 397 https://www.gtplanet.net/gt6-update-1-17-released-brings-lexus-alpine-vision-gt-cars/
1.18 14/04/2015 27 Volkswagen GTI Supersport Vision Gran Turismo, “GT Academy 2015″ has been added to the “Special Events” section, We have fixed the issue found after the 1.17 update where the settings of the [Fully Customizable Transmission] were being reset to default after entering a race. Improved the engine sounds for the Volkswagen GTI Roadster Vision Gran Turismo
 Adjusted the deployment timings of the air brake for the Alpine Vision Gran Turismo, Alpine Vision Gran Turismo Race Mode, and Chevrolet Chaparral 2X Vision Gran Turismo, when using the (DUALSHOCK®3) wireless controller
206 https://www.gtplanet.net/gt6-update-1-18-now-available-brings-vw-gti-supersport-and-gt-academy-2015/
1.19 01/06/2015 48 Peugeot Vision GT, Nissan GT-R LM NISMO 270 https://www.gtplanet.net/gt6-update-1-19-now-available-brings-nissan-gt-r-lm-peugeot-vision-gt/
1.20 25/06/2015 24 Update to the Goodwood Hill Climb course and one of the more hotly anticipated Vision GT cars: the radical SRT Tomahawk.  LM55 concept car itself has also been updated within the game to match its real-world model. GT Academy cars which were used in the 2015 qualifier rounds have been added to the Nissan dealership within the game, including the Nissan Zytek Z11SN Greaves Motorsports and GT-R LM NISMO. 311 https://www.gtplanet.net/gt6-update-1-20-released-brings-srt-tomahawk-vision-gt-car-goodwood-fos-update/
1.21 30/09/2015 97 Course Maker and its four themes: Eifel, Eifel Flat, Andalusia (based on the location of Circuit de la Sierra), and an entirely new location for the series, Death Valley. Some updated car sounds. 185 https://www.gtplanet.net/gt6-update-1-21-now-available-course-maker-updated-car-sounds/
1.22 02/12/2015 63 Fixes a known exploit in Career Mode, where previously-suspended Championships could be restarted on a User- Created Course.  Two cars added  2020 Vision Gran Turismo, and Toyota’s tiny S-FR 35 https://www.gtplanet.net/gt6-update-1-22-arrives-with-a-quick-fix/