Use environment as substitute for product id sysinfo value
Use environment as substitute for product id sysinfo value

When mce is started normally via systemd, at least N9 and N950 can be
detected from product_name environment variable. This information is
needed when setting up indication led/keyboard backlight functionality.

To ease running mce manually for debugging purposes, the environment
values from /proc/1/environ are used as secondary source of information.

maikelwever/mce,android-808/mce,mlehtima/mce,maikelwever/mce,android-808/mce,mikkoharju/mce,kimmoli/mce,spiiroin/mce,maikelwever/mce,maikelwever/mce,android-808/mce,mlehtima/mce,kimmoli/mce,mikkoharju/mce,mikkoharju/mce,mlehtima/mce,spiiroin/mce,kimmoli/mce,spiiroin/mce,mikkoharju/mce,android-808/mce,spiiroin/mce,kimmoli/mce,mlehtima/mce