rewrite of ambient light sensor

Change-Id: Ife2ab008ba6cc6e2bc19107bd42480276685b962