Continued complaints by iPhone owners about fast-draining batteries have prompted Apple to ask some users to install power-logging software on their smartphones in an effort to diagnose the problem, according to messages on the company’s support forum.